Unverified Commit 6a2fd7f5 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 33e1480f 0be05c4b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -131,12 +131,12 @@ void rxe_comp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb)
{
	int must_sched;

	skb_queue_tail(&qp->resp_pkts, skb);

	must_sched = skb_queue_len(&qp->resp_pkts) > 1;
	must_sched = skb_queue_len(&qp->resp_pkts) > 0;
	if (must_sched != 0)
		rxe_counter_inc(SKB_TO_PKT(skb)->rxe, RXE_CNT_COMPLETER_SCHED);

	skb_queue_tail(&qp->resp_pkts, skb);

	if (must_sched)
		rxe_sched_task(&qp->comp.task);
	else