]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: add accept_subflow re-check
authorGeliang Tang <geliangtang@gmail.com>
Thu, 24 Sep 2020 00:29:53 +0000 (08:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 02:58:33 +0000 (19:58 -0700)
commit359cf54e2ddd7d7dba32da9e9ca44831c85f9694
tree557ae8d2086063dbbec76c4817bcb4dc1cc1005d
parentf21c0fe3ad803421370eabc40f57b573289d9775
mptcp: add accept_subflow re-check

The re-check of pm->accept_subflow with pm->lock held was missing, this
patch fixed it.

Suggested-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/pm.c