[IPSEC] Set byid for km_event in xfrm_get_policy
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 19 Jun 2005 05:44:18 +0000 (22:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2005 05:44:18 +0000 (22:44 -0700)
commite7443892f656d760ec1b9d92567178c87e100f4a
tree1fafb0ca8fd4b81af36a2460b4acad3f68bef8ab
parentbf08867f91a43aa3ba2e4598c06c4769a6cdddf6
[IPSEC] Set byid for km_event in xfrm_get_policy

This patch fixes policy deletion in xfrm_user so that it sets
km_event.data.byid.  This puts xfrm_user on par with what af_key
does in this case.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
net/xfrm/xfrm_user.c