[IPV4] multipath_wrandom: Fix softirq-unsafe spin lock usage
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Feb 2006 00:59:16 +0000 (16:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2006 00:59:16 +0000 (16:59 -0800)
The spin locks in multipath_wrandom may be obtained from either process
context or softirq context depending on whether the packet is locally
or remotely generated.  Therefore we need to disable BH processing when
taking these locks.

This bug was found by Ingo's lock validator.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found