]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: remove SK_REDIRECT from UAPI
authorJohn Fastabend <john.fastabend@gmail.com>
Wed, 1 Nov 2017 02:17:31 +0000 (19:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 02:43:50 +0000 (11:43 +0900)
commit04686ef299db5ff299bfc5a4504b189e46842078
treea370942e93babe219c14f3022f8d78f69198c328
parent14fc0abafe159fbe8bbcfeca157ef3ba139fa75f
bpf: remove SK_REDIRECT from UAPI

Now that SK_REDIRECT is no longer a valid return code. Remove it
from the UAPI completely. Then do a namespace remapping internal
to sockmap so SK_REDIRECT is no longer externally visible.

Patchs primary change is to do a namechange from SK_REDIRECT to
__SK_REDIRECT

Reported-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/bpf.h
kernel/bpf/sockmap.c
tools/include/uapi/linux/bpf.h