diff options
author | Eric Dumazet <[email protected]> | 2011-04-14 05:55:37 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-04-14 23:26:02 -0700 |
commit | c65353daf137dd41f3ede3baf62d561fca076228 (patch) | |
tree | 407488cc052fff615d61c889100a76e057c1f203 /lib/mpi/mpi-inline.h | |
parent | 49b4947aae404c8c5758ffd1007d0d78c48b3643 (diff) |
ip: ip_options_compile() resilient to NULL skb route
Scot Doyle demonstrated ip_options_compile() could be called with an skb
without an attached route, using a setup involving a bridge, netfilter,
and forged IP packets.
Let's make ip_options_compile() and ip_options_rcv_srr() a bit more
robust, instead of changing bridge/netfilter code.
With help from Hiroaki SHIMODA.
Reported-by: Scot Doyle <[email protected]>
Tested-by: Scot Doyle <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Acked-by: Hiroaki SHIMODA <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions