Messages in this thread | | | From | Song Liu <> | Date | Thu, 22 Aug 2019 14:12:19 -0700 | Subject | Re: [PATCH] net/ipv4/tcp bpf: Delete an unnecessary check before the function call “consume skb” |
| |
On Thu, Aug 22, 2019 at 10:19 AM Markus Elfring <Markus.Elfring@web.de> wrote: > > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Thu, 22 Aug 2019 18:20:42 +0200 > > The consume_skb() function performs also input parameter validation. > Thus the test around the call is not needed. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Song Liu <songliubraving@fb.com>
| |