netns xfrm: pass netns with KM notifications

SA and SPD flush are executed with NULL SA and SPD respectively, for
these cases pass netns explicitly from userspace socket.

Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Alexey Dobriyan 2008-11-25 17:50:36 -08:00 • committed by David S. Miller
commit 7067802e26
3 changed files with 7 additions and 2 deletions

View file

@ -256,6 +256,7 @@ struct km_event
u32 seq;
u32 pid;
u32 event;
struct net *net;
};
struct net_device;