diff options
author | Florian Westphal | 2021-04-15 16:44:53 -0700 |
---|---|---|
committer | David S. Miller | 2021-04-16 15:23:10 -0700 |
commit | 7896248983ef4eec18c8bd301a81d8672dbc9955 (patch) | |
tree | fcc0d5d4b4666741dd9a956bffdb9a1eef482d15 /.mailmap | |
parent | d9e4c129181004ec94b315b0c9db5eeb09da75e6 (diff) |
mptcp: add skeleton to sync msk socket options to subflows
Handle following cases:
1. setsockopt is called with multiple subflows.
Change might have to be mirrored to all of them.
This is done directly in process context/setsockopt call.
2. Outgoing subflow is created after one or several setsockopt()
calls have been made. Old setsockopt changes should be
synced to the new socket.
3. Incoming subflow, after setsockopt call(s).
Cases 2 and 3 are handled right after the join list is spliced to the conn
list.
Not all sockopt values can be just be copied by value, some require
helper calls. Those can acquire socket lock (which can sleep).
If the join->conn list splicing is done from preemptible context,
synchronization can be done right away, otherwise its deferred to work
queue.
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions