]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pdump/rte_pdump.c
mbuf: fix segments number type increase
[dpdk.git] / lib / librte_pdump / rte_pdump.c
index 29a6c99b70a80ef1ea613870c1e2d22847a5e94d..00ab87ecff28d20308e2b31bbb8baf4518fb227f 100644 (file)
@@ -139,7 +139,7 @@ pdump_pktmbuf_copy(struct rte_mbuf *m, struct rte_mempool *mp)
 {
        struct rte_mbuf *m_dup, *seg, **prev;
        uint32_t pktlen;
-       uint8_t nseg;
+       uint16_t nseg;
 
        m_dup = rte_pktmbuf_alloc(mp);
        if (unlikely(m_dup == NULL))