ipvs: fix synchronization on connection close
[safe/jmp/linux-2.6] / net / ipv6 / xfrm6_mode_ro.c
index 4a01cb3..63d5d49 100644 (file)
@@ -54,9 +54,7 @@ static int xfrm6_ro_output(struct xfrm_state *x, struct sk_buff *skb)
        __skb_pull(skb, hdr_len);
        memmove(ipv6_hdr(skb), iph, hdr_len);
 
-       spin_lock_bh(&x->lock);
        x->lastused = get_seconds();
-       spin_unlock_bh(&x->lock);
 
        return 0;
 }