net: Make sure BHs are disabled in sock_prot_inuse_add()
authorEric Dumazet <dada1@cosmosbay.com>
Mon, 24 Nov 2008 22:05:22 +0000 (14:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2008 22:05:22 +0000 (14:05 -0800)
commit3755810cebf7f9902b05c7ba9baeac0fc44881be
treee4bee0e33103781034fdf6144898a67b21778ad7
parent920de804bca61f88643bc9171bcd06f1a56c6258
net: Make sure BHs are disabled in sock_prot_inuse_add()

There is still a call to sock_prot_inuse_add() in af_netlink
while in a preemptable section. Add explicit BH disable around
this call.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c