• Olaf Kirch's avatar
    [IPV4]: Prevent oops when printing martian source · 0b7f22aa
    Olaf Kirch authored
    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: default avatarDavid S. Miller <davem@davemloft.net>
    0b7f22aa
route.c 78.1 KB