]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: avoid lock_fast usage in accept path
authorFlorian Westphal <fw@strlen.de>
Fri, 12 Feb 2021 23:59:59 +0000 (15:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:31:46 +0000 (16:31 -0800)
commitd797a2eb08d3bdde0d1b0af5e76c12438b82b472
tree05ec63a09dc8ed396f0ff2694a4d25fd752beba5
parente4cedddd3d2ca06720c8f9d9a06a4818a77c851e
mptcp: avoid lock_fast usage in accept path

Once event support is added this may need to allocate memory while msk
lock is held with softirqs disabled.

Not using lock_fast also allows to do the allocation with GFP_KERNEL.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/genetlink.h
net/mptcp/protocol.c
net/netlink/genetlink.c