]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fou: remove warn in gue_gro_receive on unsupported protocol
authorWillem de Bruijn <willemb@google.com>
Fri, 14 Jun 2024 12:25:18 +0000 (08:25 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:51:46 +0000 (19:51 +0100)
commitb1453a5616c7bd8acd90633ceba4e59105ba3b51
treeea729db5ee2228cce6200cb937ccf2ab9550e360
parent0b31e28fbd773aefb6164687e0767319b8199829
fou: remove warn in gue_gro_receive on unsupported protocol

commit dd89a81d850fa9a65f67b4527c0e420d15bf836c upstream.

Drop the WARN_ON_ONCE inn gue_gro_receive if the encapsulated type is
not known or does not have a GRO handler.

Such a packet is easily constructed. Syzbot generates them and sets
off this warning.

Remove the warning as it is expected and not actionable.

The warning was previously reduced from WARN_ON to WARN_ON_ONCE in
commit 270136613bf7 ("fou: Do WARN_ON_ONCE in gue_gro_receive for bad
proto callbacks").

Signed-off-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240614122552.1649044-1-willemdebruijn.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Libo Chen <libo.chen.cn@windriver.com>
net/ipv4/fou.c