summaryrefslogtreecommitdiff
path: root/lib/digsig.c
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2023-10-23 21:17:07 +0300
committerJakub Kicinski <kuba@kernel.org>2023-10-24 23:00:31 +0300
commit1d0507f46843b14b0cb051fe50ebc7e6432111ab (patch)
tree152e9872fe0da7d3e0b8534f6e5dbe9c60270f30 /lib/digsig.c
parent0c63ad3795269849782ca24a084952206986d3bf (diff)
downloadlinux-1d0507f46843b14b0cb051fe50ebc7e6432111ab.tar.xz
net: mptcp: convert netlink from small_ops to ops
in the current MPTCP control plane, all operations use a netlink attribute of the same type "MPTCP_PM_ATTR". However, add/del/get/flush operations only parse the first element in the message _ the one that describes MPTCP endpoints (that was named MPTCP_PM_ATTR_ADDR and mostly used in ADD_ADDR operations _ probably the similarity of "attr", "addr" and "add" might cause some confusion to human readers). Convert MPTCP from 'small_ops' to 'ops', thus allowing different attributes for each single operation, hopefully makes all this clearer to human readers. - use a separate attribute set for add/del/get/flush address operation, binary compatible with the existing one, to store the endpoint address. MPTCP_PM_ENDPOINT_ADDR is added to the uAPI (with the same value as MPTCP_PM_ATTR_ADDR) for these operations. - convert mptcp_pm_ops[] and add policy files accordingly. this prepares MPTCP control plane to be described as YAML spec. Link: https://github.com/multipath-tcp/mptcp_net-next/issues/340 Acked-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: Mat Martineau <martineau@kernel.org> Link: https://lore.kernel.org/r/20231023-send-net-next-20231023-1-v2-3-16b1f701f900@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/digsig.c')
0 files changed, 0 insertions, 0 deletions