Re: [PATCH v2 net] inet: frags: fix defragmented packet's IP header for af_packet

2015-07-21 Thread David Miller
From: Eric Dumazet Date: Tue, 21 Jul 2015 09:43:59 +0200 > From: Edward Hyunkoo Jee > > When ip_frag_queue() computes positions, it assumes that the passed > sk_buff does not contain L2 headers. > > However, when PACKET_FANOUT_FLAG_DEFRAG is used, IP reassembly > functions can be called on out

[PATCH v2 net] inet: frags: fix defragmented packet's IP header for af_packet

2015-07-21 Thread Eric Dumazet
From: Edward Hyunkoo Jee When ip_frag_queue() computes positions, it assumes that the passed sk_buff does not contain L2 headers. However, when PACKET_FANOUT_FLAG_DEFRAG is used, IP reassembly functions can be called on outgoing packets that contain L2 headers. Also, IPv4 checksum is not corre