diff options
Diffstat (limited to 'net/ipv6/xfrm6_output.c')
-rw-r--r-- | net/ipv6/xfrm6_output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/xfrm6_output.c b/net/ipv6/xfrm6_output.c index b4628fbf8ff5..db58104e710b 100644 --- a/net/ipv6/xfrm6_output.c +++ b/net/ipv6/xfrm6_output.c | |||
@@ -75,6 +75,8 @@ static int xfrm6_output_one(struct sk_buff *skb) | |||
75 | 75 | ||
76 | x->curlft.bytes += skb->len; | 76 | x->curlft.bytes += skb->len; |
77 | x->curlft.packets++; | 77 | x->curlft.packets++; |
78 | if (x->props.mode == XFRM_MODE_ROUTEOPTIMIZATION) | ||
79 | x->lastused = (u64)xtime.tv_sec; | ||
78 | 80 | ||
79 | spin_unlock_bh(&x->lock); | 81 | spin_unlock_bh(&x->lock); |
80 | 82 | ||