]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: remove unneeded check on first subflow
authorPaolo Abeni <pabeni@redhat.com>
Thu, 1 Apr 2021 23:19:43 +0000 (16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Apr 2021 21:21:50 +0000 (14:21 -0700)
commit5f35c5c542eba82a219c8965057ddb4a6445ab96
treea9a17ec3e75ecb6538ea9641c4e714e79b563a83
parentc609659496bf9c9b7117bceeeb370c3a28fa618e
mptcp: remove unneeded check on first subflow

Currently we explicitly check for the first subflow being
NULL in a couple of places, even if we don't need any
special actions in such scenario.

Just drop the unneeded checks, to avoid confusion.

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/options.c
net/mptcp/protocol.c