[LSM-IPSec]: Corrections to LSM-IPSec Nethooks
authorTrent Jaeger <tjaeger@cse.psu.edu>
Fri, 6 Jan 2006 21:22:39 +0000 (13:22 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Jan 2006 21:22:39 +0000 (13:22 -0800)
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: Trent Jaeger <tjaeger@cse.psu.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found