]> git.baikalelectronics.ru Git - kernel.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)
commit294eaf0e91585dbc731424f270ad3a2bbd23c124
tree229c10e9c3db1b0e6b1dc0ac2b3964340d2f1732
parent9de080bda606878ec5702f6741e3beb2e42449ac
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