kernel-ark/net/sctp
Herbert Xu 1e061ab2e5 [SCTP]: Replace spin_lock_irqsave with spin_lock_bh
This patch replaces the spin_lock_irqsave call on the receive queue
lock in SCTP with spin_lock_bh.  Despite the proliferation of
spin_lock_irqsave calls in this stack, it is only entered from the
IPv4/IPv6 stack and user space.  That is, it is never entered from
hardirq context.

The call in question is only called from recvmsg which means that
IRQs aren't disabled.  Therefore it is safe to replace it with
spin_lock_bh.
 
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-06-18 22:56:42 -07:00
..
associola.c
bind_addr.c
chunk.c
command.c
crc32c.c
debug.c
endpointola.c
input.c
inqueue.c
ipv6.c [SCTP] Fix incorrect setting of sk_bound_dev_if when binding/sending to a ipv6 2005-06-13 15:13:05 -07:00
Kconfig
Makefile
objcnt.c
output.c
outqueue.c
primitive.c
proc.c
protocol.c
sm_make_chunk.c
sm_sideeffect.c
sm_statefuns.c
sm_statetable.c
socket.c [SCTP]: Replace spin_lock_irqsave with spin_lock_bh 2005-06-18 22:56:42 -07:00
ssnmap.c
sysctl.c
transport.c
tsnmap.c
ulpevent.c
ulpqueue.c