commit | f8addb3215bf58154f189017d934dfc06b62c75e | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Feb 02 16:59:16 2006 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 02 16:59:16 2006 -0800 |
tree | 408ad5d1eac85858c44b68b957ae235a4ce41eed | |
parent | 27852c26baab8b95fc9a2b3e8a18770ecd553f10 [diff] |
[IPV4] multipath_wrandom: Fix softirq-unsafe spin lock usage 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>