From: David S. Miller Date: Tue, 24 Aug 2021 08:28:29 +0000 (+0100) Subject: Merge branch 'mptcp-refactor' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0384dd9d2d807b7d1470ce0abd549b8855037f99;p=linux.git 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 --- 0384dd9d2d807b7d1470ce0abd549b8855037f99