summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-03-31 06:24:38 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2005-03-31 06:24:38 -0800
commit1f2ad0e4a5499c03409dda5980a7c1bc48ac6aaa (patch)
treee26c5055a43781519090744dda3ca8beaf35718b /include/linux
parent384b4336e40d686e7a617adc1af032f2915f9733 (diff)
[XFRM]: Simplify xfrm_policy_kill().
So here is a patch to simplify xfrm_policy_kill() by moving the GC linking after the write_unlock_bh(). Actually, as the code stands, xfrm_policy_kill() should/will never be called twice on the same policy. So we can add a warning to catch that. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions