aboutsummaryrefslogtreecommitdiff
path: root/net/mptcp/protocol.c
diff options
context:
space:
mode:
authorGravatar Paolo Abeni <pabeni@redhat.com> 2021-08-26 17:44:51 -0700
committerGravatar David S. Miller <davem@davemloft.net> 2021-08-27 09:45:07 +0100
commita086aebae0ebe37e93ed8f6e686ca0d5c4375b44 (patch)
treecdc17ec37fc91fbabed2c3f0181294cd37516ddb /net/mptcp/protocol.c
parentmptcp: do not set unconditionally csum_reqd on incoming opt (diff)
downloadlinux-a086aebae0ebe37e93ed8f6e686ca0d5c4375b44.tar.gz
linux-a086aebae0ebe37e93ed8f6e686ca0d5c4375b44.tar.bz2
linux-a086aebae0ebe37e93ed8f6e686ca0d5c4375b44.zip
mptcp: better binary layout for mptcp_options_received
This change reorder the mptcp_options_received fields to shrink the structure a bit and to ensure the most frequently used fields are all in the first cacheline. Sub-opt specific flags are moved out of the suboptions area, and we must now explicitly set them when the relevant suboption is parsed. There is a notable exception: 'csum_reqd' is used by both DSS and MPC suboptions, and keeping such field in the suboptions flag area will simplfy the next patch. 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