aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp/sctp.h
diff options
context:
space:
mode:
authorPhil Oester <kernel@linuxace.com>2008-03-21 15:01:50 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-21 15:01:50 -0700
commit12b101555f4a67db67a66966a516075bd477741f (patch)
tree940f5aab5d774a7265ffa47977ab1cad8e3bcc6b /include/net/sctp/sctp.h
parent[NET] ifb: set separate lockdep classes for queue locks (diff)
downloadlinux-dev-12b101555f4a67db67a66966a516075bd477741f.tar.xz
linux-dev-12b101555f4a67db67a66966a516075bd477741f.zip
[IPV4]: Fix null dereference in ip_defrag
Been seeing occasional panics in my testing of 2.6.25-rc in ip_defrag. Offending line in ip_defrag is here: net = skb->dev->nd_net where dev is NULL. Bisected the problem down to commit ac18e7509e7df327e30d6e073a787d922eaf211d ([NETNS][FRAGS]: Make the inet_frag_queue lookup work in namespaces). Below patch (idea from Patrick McHardy) fixes the problem for me. Signed-off-by: Phil Oester <kernel@linuxace.com> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp/sctp.h')
0 files changed, 0 insertions, 0 deletions