mptcp: make the locking tx schema more readable
authorPaolo Abeni <pabeni@redhat.com>
Fri, 27 Aug 2021 00:44:54 +0000 (17:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Aug 2021 08:45:07 +0000 (09:45 +0100)
commit9758f40e90f77e457dd4edef1ca506006d7f471a
tree604e04b9280e2c265baa5b8a0c9b2c4dfc6e1e15
parentf6c2ef59bcc7e1fbe4ea6f9de7f6e0df178d5882
mptcp: make the locking tx schema more readable

Florian noted the locking schema used by __mptcp_push_pending()
is hard to follow, let's add some more descriptive comments
and drop an unneeded and confusing check.

Suggested-by: Florian Westphal <fw@strlen.de>
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>
net/mptcp/protocol.c