git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/dpaa: fix event queue detach
[dpdk.git]
/
drivers
/
net
/
ixgbe
/
ixgbe_rxtx.c
diff --git
a/drivers/net/ixgbe/ixgbe_rxtx.c
b/drivers/net/ixgbe/ixgbe_rxtx.c
index
99e928a
..
9e8ea36
100644
(file)
--- a/
drivers/net/ixgbe/ixgbe_rxtx.c
+++ b/
drivers/net/ixgbe/ixgbe_rxtx.c
@@
-2983,8
+2983,7
@@
ixgbe_reset_rx_queue(struct ixgbe_adapter *adapter, struct ixgbe_rx_queue *rxq)
rxq->rx_tail = 0;
rxq->nb_rx_hold = 0;
- if (rxq->pkt_first_seg != NULL)
- rte_pktmbuf_free(rxq->pkt_first_seg);
+ rte_pktmbuf_free(rxq->pkt_first_seg);
rxq->pkt_first_seg = NULL;
rxq->pkt_last_seg = NULL;