]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit6f756a8c36bf54d0afb1d457082b3e3033d951a7
tree33efc99e3df9edf1d777a00913852d24d19b930b
parentbe77e5930725c3e77bcc0fb1def28e016080d0a1
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