]> git.baikalelectronics.ru Git - kernel.git/commit
net: Make sure BHs are disabled in sock_prot_inuse_add()
authorDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2008 01:34:03 +0000 (17:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2008 01:34:03 +0000 (17:34 -0800)
commitbeb8c1fb76972c98928c3172cdc7c302e661ade0
tree33efc99e3df9edf1d777a00913852d24d19b930b
parent670d4fa2aef736c9224790267fbf5fd9dc9073eb
net: Make sure BHs are disabled in sock_prot_inuse_add()

The rule of calling sock_prot_inuse_add() is that BHs must
be disabled.  Some new calls were added where this was not
true and this tiggers warnings as reported by Ilpo.

Fix this by adding explicit BH disabling around those call sites.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c
net/sctp/socket.c
net/unix/af_unix.c