[XFRM]: Sub-policies broke policy events
authorJamal Hadi Salim <hadi@cyberus.ca>
Sun, 19 Nov 2006 22:53:07 +0000 (14:53 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 22 Nov 2006 00:16:34 +0000 (16:16 -0800)
commit334f3d45d3e0c925eb15003560cdd6f5383c88d0
treef2e63fc32b3861693541a524fa8fb4e5bf86bea9
parentfb47ddb2db9c18664bd7b06c201a2398885b64fc
[XFRM]: Sub-policies broke policy events

XFRM policy events are broken when sub-policy feature is turned on.
A simple test to verify this:
run ip xfrm mon on one window and add then delete a policy on another
window ..

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Acked-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_user.c