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)
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>

No differences found