Revert "RDMA/rxe: Fix seg fault in rxe_comp_queue_pkt"
This reverts commit df727900ad
.
This commit is contained in:
parent
6407d85670
commit
5c808ce6b2
1 changed files with 3 additions and 3 deletions
|
@ -123,12 +123,12 @@ void rxe_comp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb)
|
|||
{
|
||||
int must_sched;
|
||||
|
||||
must_sched = skb_queue_len(&qp->resp_pkts) > 0;
|
||||
skb_queue_tail(&qp->resp_pkts, skb);
|
||||
|
||||
must_sched = skb_queue_len(&qp->resp_pkts) > 1;
|
||||
if (must_sched != 0)
|
||||
rxe_counter_inc(SKB_TO_PKT(skb)->rxe, RXE_CNT_COMPLETER_SCHED);
|
||||
|
||||
skb_queue_tail(&qp->resp_pkts, skb);
|
||||
|
||||
rxe_run_task(&qp->comp.task, must_sched);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue