diff options
Diffstat (limited to 'net/ipv6/xfrm6_policy.c')
-rw-r--r-- | net/ipv6/xfrm6_policy.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index f5a9cb8257b..ef39812107b 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c | |||
@@ -207,20 +207,22 @@ static inline int xfrm6_garbage_collect(struct dst_ops *ops) | |||
207 | return dst_entries_get_fast(ops) > ops->gc_thresh * 2; | 207 | return dst_entries_get_fast(ops) > ops->gc_thresh * 2; |
208 | } | 208 | } |
209 | 209 | ||
210 | static void xfrm6_update_pmtu(struct dst_entry *dst, u32 mtu) | 210 | static void xfrm6_update_pmtu(struct dst_entry *dst, struct sock *sk, |
211 | struct sk_buff *skb, u32 mtu) | ||
211 | { | 212 | { |
212 | struct xfrm_dst *xdst = (struct xfrm_dst *)dst; | 213 | struct xfrm_dst *xdst = (struct xfrm_dst *)dst; |
213 | struct dst_entry *path = xdst->route; | 214 | struct dst_entry *path = xdst->route; |
214 | 215 | ||
215 | path->ops->update_pmtu(path, mtu); | 216 | path->ops->update_pmtu(path, sk, skb, mtu); |
216 | } | 217 | } |
217 | 218 | ||
218 | static void xfrm6_redirect(struct dst_entry *dst, struct sk_buff *skb) | 219 | static void xfrm6_redirect(struct dst_entry *dst, struct sock *sk, |
220 | struct sk_buff *skb) | ||
219 | { | 221 | { |
220 | struct xfrm_dst *xdst = (struct xfrm_dst *)dst; | 222 | struct xfrm_dst *xdst = (struct xfrm_dst *)dst; |
221 | struct dst_entry *path = xdst->route; | 223 | struct dst_entry *path = xdst->route; |
222 | 224 | ||
223 | path->ops->redirect(path, skb); | 225 | path->ops->redirect(path, sk, skb); |
224 | } | 226 | } |
225 | 227 | ||
226 | static void xfrm6_dst_destroy(struct dst_entry *dst) | 228 | static void xfrm6_dst_destroy(struct dst_entry *dst) |