xfrm: fix uapi for the default policy
Status from this message: Applied, thanks a lot Nicolas!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 4 repliesApplied
- v22 patches 0 repliesSuperseded
- v12 patches 0 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xfrm: make user policy API completeinclude/ net/ | +25 | 0 replies | |
| 2/2 | xfrm: notify default policy on updatenet/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH ipsec v3 0/2] xfrm: fix uapi for the default policy
This feature has just been merged after the last release, thus it's still time to fix the uapi.
As stated in the thread, the uapi is based on some magic values (from the userland POV).
Here is a proposal to simplify this uapi and make it clear how to use it. The other problem was the notification: changing the default policy may radically change the packets flows.
v2 -> v3: rebase on top of ipsec tree
v1 -> v2: fix warnings reported by the kernel test robot
Nicolas Dichtel (2):
xfrm: make user policy API complete
xfrm: notify default policy on update
include/uapi/linux/xfrm.h | 9 ++++-- net/xfrm/xfrm_user.c | 67 +++++++++++++++++++++++++++++---------- 2 files changed, 56 insertions(+), 20 deletions(-)
Comments are welcome,
Nicolas
Signature · 1 line
2.33.0