[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150721.103753.1054475332849936583.davem@davemloft.net>
Date: Tue, 21 Jul 2015 10:37:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, edjee@...gle.com, willemb@...gle.com,
hkchu@...gle.com, edumazet@...gle.com
Subject: Re: [PATCH v2 net] inet: frags: fix defragmented packet's IP
header for af_packet
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 21 Jul 2015 09:43:59 +0200
> From: Edward Hyunkoo Jee <edjee@...gle.com>
>
> 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 corrected after reassembly.
>
> Fixes: 7736d33f4262 ("packet: Add pre-defragmentation support for ipv4 fanouts.")
> Signed-off-by: Edward Hyunkoo Jee <edjee@...gle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists