[PATCH net-next 0/4] mptcp: some clean-up patches

From: Matthieu Baerts (NGI0)
Date: Tue Mar 05 2024 - 06:05:47 EST


Here are some clean-up patches for MPTCP:

- Patch 1 drops duplicated header inclusions.

- Patch 2 updates PM 'set_flags' interface, to make it more similar to
others.

- Patch 3 adds some error messages for the PM 'set_flags' command to
help the userspace understanding what's wrong in case of error.

- Patch 4 simplifies __lookup_addr() function from pm_netlink.c.

Except for the 3rd patch, the behaviour is not supposed to be modified.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>
---
Geliang Tang (4):
mptcp: drop duplicate header inclusions
mptcp: update set_flags interfaces
mptcp: set error messages for set_flags
mptcp: drop lookup_by_id in lookup_addr

net/mptcp/diag.c | 1 -
net/mptcp/mptcp_diag.c | 1 -
net/mptcp/pm.c | 11 ++----
net/mptcp/pm_netlink.c | 97 ++++++++++++++++++++++--------------------------
net/mptcp/pm_userspace.c | 41 ++++++++++++++++----
net/mptcp/protocol.c | 1 -
net/mptcp/protocol.h | 10 ++---
net/mptcp/subflow.c | 2 -
8 files changed, 84 insertions(+), 80 deletions(-)
---
base-commit: 09fcde54776180a76e99cae7f6d51b33c4a06525
change-id: 20240304-upstream-net-next-20240304-mptcp-misc-cleanup-19df5fa7b155

Best regards,
--
Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>