From: Olaf Kirch Date: Tue, 12 Jul 2005 04:01:42 +0000 (-0700) Subject: [IPV4]: Prevent oops when printing martian source X-Git-Tag: v2.6.13-rc3~61^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b7f22aab4e960c75e82ad696ef852f9b0015e7d;p=pandora-kernel.git [IPV4]: Prevent oops when printing martian source In some cases, we may be generating packets with a source address that qualifies as martian. This can happen when we're in the middle of setting up the network, and netfilter decides to reject a packet with an RST. The IPv4 routing code would try to print a warning and oops, because locally generated packets do not have a valid skb->mac.raw pointer at this point. Signed-off-by: David S. Miller --- Reading git-diff-tree failed