]> 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)
commit691c0e6284ae5945f438ddd167b993193d59a4c5
tree604e04b9280e2c265baa5b8a0c9b2c4dfc6e1e15
parentd81a353457e0b897c0912d33a84f5ccea2ce580d
parent1b322ef7f7d8436103b2b40410f12cf4badf9e1c
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>