]> 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)
commitbe8332d72f2972e2bb8c2d4164a57e1b5409dc42
tree2d50fcd9ed58ad416e631f573c357ad1480264e9
parent698fcd5559085abdc9be09bd7c2c9d8de4c98d5a
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