]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mptcp-Optimize-received-options-handling'
authorDavid S. Miller <davem@davemloft.net>
Fri, 27 Aug 2021 08:45:07 +0000 (09:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Aug 2021 08:45:07 +0000 (09:45 +0100)
commit98c6c3b8e136f8a21b9154dc37d5bf2265d7de15
tree604e04b9280e2c265baa5b8a0c9b2c4dfc6e1e15
parentf8cbd7a75c87aba2b5ebe4a4454a0ad0362bc964
parent2780ccd5d87dc993c8caadbe1fb080068850df17
Merge branch 'mptcp-Optimize-received-options-handling'

Mat Martineau says:

====================
mptcp: Optimize received options handling

These patches optimize received MPTCP option handling in terms of both
storage and fewer conditionals to evaluate in common cases, and also add
a couple of cleanup patches.

Patches 1 and 5 do some cleanup in checksum option parsing and
clarification of lock handling.

Patches 2 and 3 rearrange struct mptcp_options_received to shrink it
slightly and consolidate frequently used fields in the same cache line.

Patch 4 optimizes incoming MPTCP option parsing to skip many extra
comparisons in the common case where only a DSS option is present.
====================

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