]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: block BH in TCP callbacks
authorEric Dumazet <edumazet@google.com>
Wed, 18 May 2016 00:44:09 +0000 (17:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2016 18:36:49 +0000 (11:36 -0700)
commit858cc2e9971d28cec2b463a35d959cead6f3641a
tree694ab01c605470329b19bf7ae06f2d411b8687d9
parent432fb255f908cf56adb43be37e626f1036489747
tipc: block BH in TCP callbacks

TCP stack can now run from process context.

Use read_lock_bh(&sk->sk_callback_lock) variant to restore previous
assumption.

Fixes: 54a874cf32f4 ("net: do not block BH while processing socket backlog")
Fixes: 0cfb5406b3cd ("tcp: make tcp_sendmsg() aware of socket backlog")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jon Maloy <jon.maloy@ericsson.com>
Cc: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/server.c