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)
commite1daca289a36965d923ec26647b5668e023eb0ac
treeeca8cbb26561e10a5c9b63bb859d405b758c1dd8
parent7cb001d4c4fa7e1cc1a55388a9544e160dddc610
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: 5413d1babe8f ("net: do not block BH while processing socket backlog")
Fixes: d41a69f1d390 ("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