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
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -788,7 +788,6 @@ struct xdp_md { · 787 unmodified lines | ||
| 788 | 788 | enum sk_action { |
| 789 | 789 | SK_DROP = 0, |
| 790 | 790 | SK_PASS, |
| 791 | − SK_REDIRECT, | |
| 792 | 791 | }; |
| 793 | 792 | |
| 794 | 793 | #define BPF_TAG_SIZE 8 |