]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'a-few-corrections-for-sock_support_zc'
authorJakub Kicinski <kuba@kernel.org>
Sat, 29 Oct 2022 03:21:29 +0000 (20:21 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 29 Oct 2022 03:21:30 +0000 (20:21 -0700)
Pavel Begunkov says:

====================
a few corrections for SOCK_SUPPORT_ZC

There are several places/cases that got overlooked in regards to
SOCK_SUPPORT_ZC. We're lacking the flag for IPv6 UDP sockets and
accepted TCP sockets. We also should clear the flag when someone
tries to hijack a socket by replacing the ->sk_prot callbacks.
====================

Link: https://lore.kernel.org/r/cover.1666825799.git.asml.silence@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge