]> git.baikalelectronics.ru Git - kernel.git/commit
sock_map: Update sock type checks for UDP
authorCong Wang <cong.wang@bytedance.com>
Wed, 31 Mar 2021 02:32:35 +0000 (19:32 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 1 Apr 2021 17:56:14 +0000 (10:56 -0700)
commit25b51dd25f142dcf0a4d80e9eebe023bd36b3b4a
tree2d50fcd9ed58ad416e631f573c357ad1480264e9
parentf69cbb9ae549980e05480ac3d7e64cb5a6bf85d6
sock_map: Update sock type checks for UDP

Now UDP supports sockmap and redirection, we can safely update
the sock type checks for it accordingly.

Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20210331023237.41094-15-xiyou.wangcong@gmail.com
net/core/sock_map.c