diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-03-31 06:24:38 -0800 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2005-03-31 06:24:38 -0800 |
| commit | 1f2ad0e4a5499c03409dda5980a7c1bc48ac6aaa (patch) | |
| tree | e26c5055a43781519090744dda3ca8beaf35718b /include | |
| parent | 384b4336e40d686e7a617adc1af032f2915f9733 (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')
0 files changed, 0 insertions, 0 deletions
