]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: move common nospace-pattern to a helper
authorFlorian Westphal <fw@strlen.de>
Sat, 16 May 2020 08:46:17 +0000 (10:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 May 2020 19:35:34 +0000 (12:35 -0700)
commit1fddfb3d8e0d1cf5f25aab4b3b19c92d834762a2
tree4fa70aee67fe0e90bd07cecc47dcc85c3d8b3baf
parent9f05b6ff63ad31616d9ca5ef96f70581691951c2
mptcp: move common nospace-pattern to a helper

Paolo noticed that ssk_check_wmem() has same pattern, so add/use
common helper for both places.

Suggested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c