diff options
Diffstat (limited to 'net/ipv6/xfrm6_policy.c')
-rw-r--r-- | net/ipv6/xfrm6_policy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index 59480e92177d..55f650c49678 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * IPv6 support | 8 | * IPv6 support |
9 | * YOSHIFUJI Hideaki | 9 | * YOSHIFUJI Hideaki |
10 | * Split up af-specific portion | 10 | * Split up af-specific portion |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/compiler.h> | 14 | #include <linux/compiler.h> |
@@ -247,9 +247,9 @@ __xfrm6_bundle_create(struct xfrm_policy *policy, struct xfrm_state **xfrm, int | |||
247 | x->u.rt6.rt6i_metric = rt0->rt6i_metric; | 247 | x->u.rt6.rt6i_metric = rt0->rt6i_metric; |
248 | x->u.rt6.rt6i_node = rt0->rt6i_node; | 248 | x->u.rt6.rt6i_node = rt0->rt6i_node; |
249 | x->u.rt6.rt6i_gateway = rt0->rt6i_gateway; | 249 | x->u.rt6.rt6i_gateway = rt0->rt6i_gateway; |
250 | memcpy(&x->u.rt6.rt6i_gateway, &rt0->rt6i_gateway, sizeof(x->u.rt6.rt6i_gateway)); | 250 | memcpy(&x->u.rt6.rt6i_gateway, &rt0->rt6i_gateway, sizeof(x->u.rt6.rt6i_gateway)); |
251 | x->u.rt6.rt6i_dst = rt0->rt6i_dst; | 251 | x->u.rt6.rt6i_dst = rt0->rt6i_dst; |
252 | x->u.rt6.rt6i_src = rt0->rt6i_src; | 252 | x->u.rt6.rt6i_src = rt0->rt6i_src; |
253 | x->u.rt6.rt6i_idev = rt0->rt6i_idev; | 253 | x->u.rt6.rt6i_idev = rt0->rt6i_idev; |
254 | in6_dev_hold(rt0->rt6i_idev); | 254 | in6_dev_hold(rt0->rt6i_idev); |
255 | __xfrm6_bundle_len_dec(&header_len, &nfheader_len, x->u.dst.xfrm); | 255 | __xfrm6_bundle_len_dec(&header_len, &nfheader_len, x->u.dst.xfrm); |