OSDN Git Service

mptcp: expose server_side attribute in MPTCP netlink events
authorKishen Maloor <kishen.maloor@intel.com>
Mon, 2 May 2022 20:52:36 +0000 (13:52 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 May 2022 23:54:55 +0000 (16:54 -0700)
commit41b3c69bf9414375319290c59f198ff5c71d273f
tree51f6d54db529fca1d3e475b0f1d170b7ffc7a39d
parent70c708e82606f842dc1bcf0943b8acae30c4088f
mptcp: expose server_side attribute in MPTCP netlink events

This change records the 'server_side' attribute of MPTCP_EVENT_CREATED
and MPTCP_EVENT_ESTABLISHED events to inform their recipient about the
Client/Server role of the running MPTCP application.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/246
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Kishen Maloor <kishen.maloor@intel.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/mptcp.h
net/mptcp/pm_netlink.c