ipv4: Fix crashes in ip_options_compile().
authorDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2012 23:13:17 +0000 (16:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2012 23:13:17 +0000 (16:13 -0700)
The spec_dst uses should be guarded by skb_rtable() being non-NULL
not just the SKB being non-null.

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found