From: Eric Paris Date: Thu, 8 Mar 2007 00:02:16 +0000 (-0800) Subject: [IPSEC]: xfrm audit hook misplaced in pfkey_delete and xfrm_del_sa X-Git-Tag: v2.6.21-rc4~99^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16bec31db751030171b31d7767fa3a5bdbe980ea;p=pandora-kernel.git [IPSEC]: xfrm audit hook misplaced in pfkey_delete and xfrm_del_sa Inside pfkey_delete and xfrm_del_sa the audit hooks were not called if there was any permission/security failures in attempting to do the del operation (such as permission denied from security_xfrm_state_delete). This patch moves the audit hook to the exit path such that all failures (and successes) will actually get audited. Signed-off-by: Eric Paris Acked-by: Venkat Yekkirala Acked-by: James Morris Signed-off-by: David S. Miller --- Reading git-diff-tree failed