Re: [PATCH] app/dumpcap: fix handling of jumbo frames

2024-10-11 Thread David Marchand
On Fri, Oct 4, 2024 at 12:11 AM Stephen Hemminger wrote: > > If dumpcap (in legacy pcap mode) tried to handle a large segmented > frame it would core dump because rte_pktmbuf_read() would return NULL. > Fix by using same logic as in pcap PMD. > > Fixes: cbb44143be74 ("app/dumpcap: add new packet c

[PATCH] app/dumpcap: fix handling of jumbo frames

2024-10-03 Thread Stephen Hemminger
If dumpcap (in legacy pcap mode) tried to handle a large segmented frame it would core dump because rte_pktmbuf_read() would return NULL. Fix by using same logic as in pcap PMD. Fixes: cbb44143be74 ("app/dumpcap: add new packet capture application") Reported-by: Tianli Lai Signed-off-by: Stephen