History

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

John Fastabend committed 9 years ago

Commit 04686ef1 parent 14fc0ab3 files · +13 −7Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/bpf.h+0−1
@@ -788,7 +788,6 @@ struct xdp_md { · 787 unmodified lines
788788 enum sk_action {
789789 SK_DROP = 0,
790790 SK_PASS,
791− SK_REDIRECT,
792791 };
793792
794793 #define BPF_TAG_SIZE 8

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t