Skip to content
Commit 5f8ac64b authored by Trent Jaeger's avatar Trent Jaeger Committed by David S. Miller
Browse files

[LSM-IPSec]: Corrections to LSM-IPSec Nethooks



This patch contains two corrections to the LSM-IPsec Nethooks patches
previously applied.  

(1) free a security context on a failed insert via xfrm_user 
interface in xfrm_add_policy.  Memory leak.

(2) change the authorization of the allocation of a security context
in a xfrm_policy or xfrm_state from both relabelfrom and relabelto 
to setcontext.

Signed-off-by: default avatarTrent Jaeger <tjaeger@cse.psu.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 69549ddd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment