ipv4: ip_check_defrag should not assume that skb_network_offset is zero
authorAlexander Drozdov <al.drozdov@gmail.com>
Thu, 5 Mar 2015 07:29:39 +0000 (10:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 02:43:48 +0000 (21:43 -0500)
commit3e32e733d1bbb3f227259dc782ef01d5706bdae0
tree07ea882396b0b904333e58206c439dd13eb1ffc7
parent386668a61f90412a61a12719d15dfec58d0ece1c
ipv4: ip_check_defrag should not assume that skb_network_offset is zero

ip_check_defrag() may be used by af_packet to defragment outgoing packets.
skb_network_offset() of af_packet's outgoing packets is not zero.

Signed-off-by: Alexander Drozdov <al.drozdov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_fragment.c