> -----Original Message-----
> From: David Marchand [mailto:[email protected]]
> Sent: Wednesday, July 24, 2019 11:59 AM
> To: [email protected]
> Cc: [email protected]; [email protected]; Lu, Wenzhuo
> <[email protected]>; Wu, Jingjing <[email protected]>; Iremonger,
> Bernard <[email protected]>
> Subject: [PATCH] app/testpmd: fix eth packet dump for small buffers
> 
> In the rather unlikely case where the first segment is too small to contain an
> ethernet header, we can't go and directly dereference the mbuf data buffer.
> 
> Using rte_pktmbuf_read is a little more expensive but this is still acceptable
> for a debugging feature.
> 
> Fixes: af75078fece3 ("first public release")
> Cc: [email protected]
> 
> Signed-off-by: David Marchand <[email protected]>

Acked-by: Bernard Iremonger <[email protected]>

Reply via email to