]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a578695abb97541634f322b53535a69149151f9
treecfc0f846bdfc9e146398133f6beec39b6e255b4c
parent0c8f025260155539c9ded18343e4e77f7561f07e
ipv4: Fix crashes in ip_options_compile().

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>
net/ipv4/ip_options.c