[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+QSQjkUZxXkCg5AR6eww4q5f-GRZkZsSBTDMw2=2bvVA@mail.gmail.com>
Date: Fri, 11 Jan 2019 06:20:26 -0800
From: Eric Dumazet <edumazet@...gle.com>
To: Stefano Brivio <sbrivio@...hat.com>
Cc: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Eric Dumazet <eric.dumazet@...il.com>,
syzbot <syzkaller@...glegroups.com>,
Sabrina Dubroca <sd@...asysnail.net>
Subject: Re: [PATCH net] fou, fou6: do not assume linear skbs
On Fri, Jan 11, 2019 at 6:15 AM Stefano Brivio <sbrivio@...hat.com> wrote:
>
> On Fri, 11 Jan 2019 04:55:52 -0800
> Eric Dumazet <edumazet@...gle.com> wrote:
>
> > Both gue_err() and gue6_err() incorrectly assume
> > linear skbs. Fix them to use pskb_may_pull().
>
> Thanks for fixing this! I stupidly didn't suspect we could get
> non-linear skbs there. Just two things:
> > + if (!pskb_may_pull(skb, len + optlen)
> ^ ) missing
Interesting, I had no compile error there :/
I will send a V2
Powered by blists - more mailing lists