summaryrefslogtreecommitdiff
path: root/net/mptcp/protocol.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2021-08-26 17:44:53 -0700
committerDavid S. Miller <davem@davemloft.net>2021-08-27 09:45:07 +0100
commitf6c2ef59bcc7e1fbe4ea6f9de7f6e0df178d5882 (patch)
treeb98d4a4366e8bf69a793c912eec1db4ccda96128 /net/mptcp/protocol.c
parent74c7dfbee3e185b3c3a03f194e25689ed037fa3c (diff)
mptcp: optimize the input options processing
Most MPTCP packets carries a single MPTCP subption: the DSS containing the mapping for the current packet. Check explicitly for the above, so that is such scenario we replace most conditional statements with a single likely() one. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/protocol.c')
0 files changed, 0 insertions, 0 deletions