commit | bbb770e7ab9a436752babfc8765e422d7481be1f | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Mon Nov 03 19:11:29 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 03 19:11:29 2008 -0800 |
tree | ed0531a408dd7889912b9c8d2db71c973f021529 | |
parent | 19ecb6ba800765743bb4525c66562f0d30993f8d [diff] |
xfrm: Fix xfrm_policy_gc_lock handling. From: Alexey Dobriyan <adobriyan@gmail.com> Based upon a lockdep trace by Simon Arlott. xfrm_policy_kill() can be called from both BH and non-BH contexts, so we have to grab xfrm_policy_gc_lock with BH disabling. Signed-off-by: David S. Miller <davem@davemloft.net>