summary refs log tree commit diff
path: root/net/mptcp/mib.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2022-03-07 12:44:35 -0800
committerJakub Kicinski <kuba@kernel.org>2022-03-08 22:06:11 -0800
commit6fa0174a7c8646fce7039b5a176b4f90b0ea513a (patch)
tree190c48efc908e85f5a01b3c21b145f195959bec3 /net/mptcp/mib.h
parentf98c2bca7b2bd3fd777e05bb9e94c969381b1de8 (diff)
downloadlinux-6fa0174a7c8646fce7039b5a176b4f90b0ea513a.tar.gz
mptcp: more careful RM_ADDR generation
The in-kernel MPTCP path manager, when processing the MPTCP_PM_CMD_FLUSH_ADDR
command, generates RM_ADDR events for each known local address. While that
is allowed by the RFC, it makes unpredictable the exact number of RM_ADDR
generated when both ends flush the PM addresses.

This change restricts the RM_ADDR generation to previously explicitly
announced addresses, and adjust the expected results in a bunch of related
self-tests.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/mib.h')
0 files changed, 0 insertions, 0 deletions