Imported Upstream version 16.07-rc1
[deb_dpdk.git] / lib / librte_ip_frag / rte_ipv4_fragmentation.c
index a4ed923..a2259e8 100644 (file)
@@ -107,7 +107,7 @@ rte_ipv4_fragment_packet(struct rte_mbuf *pkt_in,
        frag_size = (uint16_t)(mtu_size - sizeof(struct ipv4_hdr));
 
        /* Fragment size should be a multiply of 8. */
-       IP_FRAG_ASSERT((frag_size & IPV4_HDR_FO_MASK) == 0);
+       RTE_ASSERT((frag_size & IPV4_HDR_FO_MASK) == 0);
 
        in_hdr = rte_pktmbuf_mtod(pkt_in, struct ipv4_hdr *);
        flag_offset = rte_cpu_to_be_16(in_hdr->fragment_offset);