]> git.baikalelectronics.ru Git - kernel.git/commit
netns: oops in ip[6]_frag_reasm incrementing stats
authorJorge Boncompte [DTI2] <jorge@dti2.net>
Thu, 19 Mar 2009 06:26:11 +0000 (23:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Mar 2009 06:26:11 +0000 (23:26 -0700)
commit20a10e0dcacdb9d99fe44352583a4549bcdc4423
tree1a0dff781b3d756470845b58cade9c9b074fadb4
parente43616a3c2c9f2bf76f624bfe9b2be5c72363752
netns: oops in ip[6]_frag_reasm incrementing stats

dev can be NULL in ip[6]_frag_reasm for skb's coming from RAW sockets.

Quagga's OSPFD sends fragmented packets on a RAW socket, when netfilter
conntrack reassembles them on the OUTPUT path you hit this code path.

You can test it with something like "hping2 -0 -d 2000 -f AA.BB.CC.DD"

With help from Jarek Poplawski.

Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_fragment.c
net/ipv6/reassembly.c