diff options
author | Matthieu Baerts (NGI0) <[email protected]> | 2024-07-31 13:05:56 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-01 18:24:49 -0700 |
commit | cd7c957f936f8cb80d03e5152f4013aae65bd986 (patch) | |
tree | e0fb8d80ee6b13db5ffd8add6f7238019dd3bceb /scripts/generate_rust_analyzer.py | |
parent | c95eb32ced823a00be62202b43966b07b2f20b7f (diff) |
mptcp: pm: don't try to create sf if alloc failed
It sounds better to avoid wasting cycles and / or put extreme memory
pressure on the system by trying to create new subflows if it was not
possible to add a new item in the announce list.
While at it, a warning is now printed if the entry was already in the
list as it should not happen with the in-kernel path-manager. With this
PM, mptcp_pm_alloc_anno_list() should only fail in case of memory
pressure.
Fixes: b6c08380860b ("mptcp: remove addr and subflow in PM netlink")
Cc: [email protected]
Suggested-by: Paolo Abeni <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Link: https://patch.msgid.link/20240731-upstream-net-20240731-mptcp-endp-subflow-signal-v1-4-c8a9b036493b@kernel.org
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions