74b7fc0a0f
On error, we also need to zero the bytes transmitted. Fixes: f4ff17a465d2 ("net/af_packet: guard against buffer overruns in Tx path") Cc: stable@dpdk.org Signed-off-by: Chas Williams <ciwillia@brocade.com>