]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b322ef7f7d8436103b2b40410f12cf4badf9e1c
tree604e04b9280e2c265baa5b8a0c9b2c4dfc6e1e15
parent1f327921281b6938ddcc1ddf09ef66f271c2a39e
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