]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
net: Make sure BHs are disabled in sock_prot_inuse_add()
authorEric Dumazet <dada1@cosmosbay.com>
Tue, 25 Nov 2008 21:53:27 +0000 (13:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Nov 2008 21:53:27 +0000 (13:53 -0800)
commit5bc0b3bfa758e4ae49c94e31c1edb9a5f10a8060
tree229c10e9c3db1b0e6b1dc0ac2b3964340d2f1732
parent8eecaba900e89643029fd2c253ad8ebb60761165
net: Make sure BHs are disabled in sock_prot_inuse_add()

prot->destroy is not called with BH disabled. So we must add
explicit BH disable around call to sock_prot_inuse_add()
in sctp_destroy_sock()

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