]> 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)
commit5520854b6d5516e3b83759a9b77dc00ea6e92c22
tree05ec63a09dc8ed396f0ff2694a4d25fd752beba5
parent84394c5a26a7d20908864aae7fc6803278d6d26e
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