[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1487685752.9415.20.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Tue, 21 Feb 2017 06:02:32 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Andrey Konovalov <andreyknvl@...gle.com>,
Eric Dumazet <edumazet@...gle.com>,
Tom Herbert <tom@...bertland.com>,
Stephen Hemminger <stephen@...workplumber.org>
Subject: Re: [PATCH net v2] ip: fix IP_CHECKSUM handling
On Tue, 2017-02-21 at 09:33 +0100, Paolo Abeni wrote:
> The skbs processed by ip_cmsg_recv() are not guaranteed to
> be linear e.g. when sending UDP packets over loopback with
> MSGMORE.
> Using csum_partial() on [potentially] the whole skb len
> is dangerous; instead be on the safe side and use skb_checksum().
>
> Thanks to syzkaller team to detect the issue and provide the
> reproducer.
Acked-by: Eric Dumazet <edumazet@...gle.com>
Thanks Paolo !
Powered by blists - more mailing lists