[XFRM]: Fix OOPSes in xfrm_audit_log().
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 12 Feb 2007 21:53:54 +0000 (13:53 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 12 Feb 2007 21:53:54 +0000 (13:53 -0800)
commit13fcfbb0675bf87da694f55dec11cada489a205c
tree2a1b81c5f7e69781f3e6ee523fd67c2b923531ca
parent9121c77706a4bd75a878573c913553ade120e9ce
[XFRM]: Fix OOPSes in xfrm_audit_log().

Make sure that this function is called correctly, and
add BUG() checking to ensure the arguments are sane.

Based upon a patch by Joy Latten.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/key/af_key.c
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_user.c