[dpdk-dev] [PATCH] rte_eth_af_packet: check return value from sendto call

2015-10-20 Thread Thomas Monjalon
2015-08-27 13:50, John W. Linville: > Coverity CID # 13200 > > If sendto fails, the packets will not get transmitted. Return 0 as > the number of packets transmitted. > > Signed-off-by: John W. Linville Applied, thanks

[dpdk-dev] [PATCH] rte_eth_af_packet: check return value from sendto call

2015-08-27 Thread John W. Linville
Coverity CID # 13200 If sendto fails, the packets will not get transmitted. Return 0 as the number of packets transmitted. Signed-off-by: John W. Linville --- drivers/net/af_packet/rte_eth_af_packet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git