]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mptcp-refactor'
authorDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2021 08:28:29 +0000 (09:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2021 08:28:29 +0000 (09:28 +0100)
commit293e5ec8380c2f427bcf5c1a1b107abd623ea568
tree7fec529fa48ee86e9dcab388fe75377ff878130f
parentfd1d4ca91b23b638789099ab418630bd44e56808
parent32671cc3faaee460aaaecdfdb4f830bf0ce6380a
Merge branch 'mptcp-refactor'

Mat Martineau says:

====================
mptcp: Refactor ADD_ADDR/RM_ADDR handling

This patch set changes the way MPTCP ADD_ADDR and RM_ADDR options are
handled to improve the reliability of sending and updating address
advertisements. The information used to populate outgoing advertisement
option headers is now stored separately to avoid rare cases where a more
recent request would overwrite something that had not been sent
yet. While the peers would recover from this, it's better to avoid the
problem in the first place.

Patch 1 moves an advertisement option check under a lock so the changes
made in the next several patches will not introduce a race.

Patches 2-4 make sure ADD_ADDR, ADD_ADDR echo, and RM_ADDR options use
separate flags and data.

Patch 5 removes some now-redundant flags.

Patch 6 adds a selftest that confirms the advertisement reliability
improvements.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>