Home
last modified time | relevance | path

Searched refs:pq (Results 1 – 1 of 1) sorted by relevance

/net/xfrm/
Dxfrm_policy.c706 struct xfrm_policy_queue *pq = &old->polq; in xfrm_policy_requeue() local
709 if (skb_queue_empty(&pq->hold_queue)) in xfrm_policy_requeue()
714 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
715 skb_queue_splice_init(&pq->hold_queue, &list); in xfrm_policy_requeue()
716 if (del_timer(&pq->hold_timer)) in xfrm_policy_requeue()
718 spin_unlock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
720 pq = &new->polq; in xfrm_policy_requeue()
722 spin_lock_bh(&pq->hold_queue.lock); in xfrm_policy_requeue()
723 skb_queue_splice(&list, &pq->hold_queue); in xfrm_policy_requeue()
724 pq->timeout = XFRM_QUEUE_TMO_MIN; in xfrm_policy_requeue()
[all …]