On 28-04-2026 04:31 am, Stephen Hemminger wrote:
On Tue, 28 Apr 2026 06:31:03 +0530
Rajesh Kumar <[email protected]> wrote:

+               const struct rte_udp_hdr *udp =
+                       (const struct rte_udp_hdr *)
+                       ((const uint8_t *)eth + offset);
Use rte_pktmbuf_mtod_offset() avoid pointer math as error prone.
Fixed.

Reply via email to