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)
commitf58f065aa10683a4e2d975c71e0238cfe2c41024
tree557ae8d2086063dbbec76c4817bcb4dc1cc1005d
parentbe61316003d962cece23cca867aafd8e67e48a90
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