[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 25 Oct 2023 16:14:12 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Willem de Bruijn <willemdebruijn.kernel@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, Willem de Bruijn <willemb@...gle.com>,
syzbot+a8c7be6dee0de1b669cc@...kaller.appspotmail.com
Subject: Re: [PATCH net] llc: verify mac len before reading mac header
On Wed, 25 Oct 2023 19:05:59 -0400 Willem de Bruijn wrote:
> > I think this one may want 1 to indicate error, technically. No?
>
> Absolutely, thanks. For both tests.
Both state machine callbacks (functions with names ending with 'test_r'
in the patch), right? Perhaps 'goto out' is what's expected here.
The fixup function seems to have inverse return semantics, because
why not.
Powered by blists - more mailing lists