]> 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)
commit4a468931d612c428cf89c4ab1e50fcdf9ec05e7a
treecfc0f846bdfc9e146398133f6beec39b6e255b4c
parent1bab1515313a7cd37c3fd55105d4b88a3d9abf55
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