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

TCP stack can now run from process context.

Use read_lock_bh() variant to restore previous assumption.

Fixes: e90f0e597ccc ("net: do not block BH while processing socket backlog")
Fixes: aac6dacbdc6a ("tcp: make tcp_sendmsg() aware of socket backlog")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/ocfs2/cluster/tcp.c