commit | 0b7f22aab4e960c75e82ad696ef852f9b0015e7d | [log] [tgz] |
---|---|---|
author | Olaf Kirch <okir@suse.de> | Mon Jul 11 21:01:42 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 11 21:01:42 2005 -0700 |
tree | 4c689dd688fbe7cbb4c3c61e2b246d5f48805aa6 | |
parent | af9debd461d10fe582c9c0e80eafa69f698331ed [diff] |
[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 <davem@davemloft.net>