diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-06-17 12:08:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-18 20:25:51 -0700 |
commit | 8fd4de1275580a1befa1456d1070eaf6489fb48f (patch) | |
tree | c3f4112be44ae124eccc0306e0425825703d3d94 /net/smc | |
parent | 5eea3a63ff4aba6a26002e657a6d21934b7e2b96 (diff) | |
download | linux-8fd4de1275580a1befa1456d1070eaf6489fb48f.tar.bz2 |
mptcp: cache msk on MP_JOIN init_req
The msk ownership is transferred to the child socket at
3rd ack time, so that we avoid more lookups later. If the
request does not reach the 3rd ack, the MSK reference is
dropped at request sock release time.
As a side effect, fallback is now tracked by a NULL msk
reference instead of zeroed 'mp_join' field. This will
simplify the next patch.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions