diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-25 20:37:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 20:37:23 -0500 |
commit | ddcfd79680c1dc74eb5f24aa70785c11bf7eec8f (patch) | |
tree | f1d762f6b1cf6bcec289fe558a26dcb4e37ffb29 /include/net/xfrm.h | |
parent | 3dd0b4997a1d4f3a3666e400cc75b0279ce96849 (diff) |
netns xfrm: dst garbage-collecting in netns
Pass netns pointer to struct xfrm_policy_afinfo::garbage_collect()
[This needs more thoughts on what to do with dst_ops]
[Currently stub to init_net]
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r-- | include/net/xfrm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 36c8cffdf4e2..bd2515005ae2 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -265,7 +265,7 @@ struct xfrm_dst; | |||
265 | struct xfrm_policy_afinfo { | 265 | struct xfrm_policy_afinfo { |
266 | unsigned short family; | 266 | unsigned short family; |
267 | struct dst_ops *dst_ops; | 267 | struct dst_ops *dst_ops; |
268 | void (*garbage_collect)(void); | 268 | void (*garbage_collect)(struct net *net); |
269 | struct dst_entry *(*dst_lookup)(int tos, xfrm_address_t *saddr, | 269 | struct dst_entry *(*dst_lookup)(int tos, xfrm_address_t *saddr, |
270 | xfrm_address_t *daddr); | 270 | xfrm_address_t *daddr); |
271 | int (*get_saddr)(xfrm_address_t *saddr, xfrm_address_t *daddr); | 271 | int (*get_saddr)(xfrm_address_t *saddr, xfrm_address_t *daddr); |