Skip to content

v2 fixes for "mptcp: convert Netlink code to use YAML spec"

Davide Caratti mptcp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

v2 changes from the cover letter

- de-uglify YAML spef file, replacing '_' with '-' and avoiding unnecessary assignments in enums (Jakub Kicinski)
- keep validating addr6 with NLA_POLICY_EXACT_LEN() (Jakub Kicinski)
- Don't leave MPTCP_EVENT_UNSPEC undocumented (Simon Horman)

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Squash-to: "net: mptcp: convert netlink from small_ops to ops"net/mptcp/pm_netlink.c+1 -10 replies
2/5Squash-to: "Documentation: netlink: add a YAML spec for mptcp"Documentation/netlink/specs/mptcp.yaml+62 -650 replies
3/5Squash-to: "uapi: mptcp: use header file generated from YAML spec"include/uapi/linux/mptcp_pm.h+1 -00 replies
4/5Squash to: "net: mptcp: use policy generated by YAML spec"net/mptcp/mptcp_pm_gen.c+1 -10 replies
5/5tools: ynl-gen: add support for exact-len validationDocumentation/netlink/genetlink-c.yaml Documentation/netlink/genetlink-legacy.yaml Documentation/netlink/genetlink.yaml +2 more+29 -112 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH mptcp-next 0/5] v2 fixes for "mptcp: convert Netlink code to use YAML spec"

v2 changes:
- de-uglify YAML spef file, replacing '_' with '-' and avoiding unnecessary assignments in enums (Jakub Kicinski)
- keep validating addr6 with NLA_POLICY_EXACT_LEN() (Jakub Kicinski)
- Don't leave MPTCP_EVENT_UNSPEC undocumented (Simon Horman)

patch 1/5 will cause a small context mismatch in "net: mptcp: use policy generated by YAML spec"

Davide Caratti (5):
Squash-to: "net: mptcp: convert netlink from small_ops to ops"
Squash-to: "Documentation: netlink: add a YAML spec for mptcp"
Squash-to: "uapi: mptcp: use header file generated from YAML spec" Squash to: "net: mptcp: use policy generated by YAML spec"
tools: ynl-gen: add support for exact-len validation

Signature · 1 line
2.41.0