]> 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)
commit183af72bd53cc199e74c7f42a130e4a2acfe446a
tree4fa70aee67fe0e90bd07cecc47dcc85c3d8b3baf
parentb52b408908819507f699fa7f0cb7a0e239480d3f
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