Re: [dpdk-dev] [PATCH] net/af_packet: fix fd use after free

2017-01-09 Thread Ferruh Yigit
On 1/5/2017 2:33 PM, Timmons C. Player wrote: > When using the same file descriptor for both rx and tx, the > eth_dev_stop function would close the same fd twice. This > change prevents that from happening. > > Signed-off-by: Timmons C. Player Fixes: 364e08f2bbc0 ("af_packet: add PMD for AF_PA

[dpdk-dev] [PATCH] net/af_packet: fix fd use after free

2017-01-05 Thread Timmons C. Player
When using the same file descriptor for both rx and tx, the eth_dev_stop function would close the same fd twice. This change prevents that from happening. Signed-off-by: Timmons C. Player --- drivers/net/af_packet/rte_eth_af_packet.c | 13 ++--- 1 file changed, 10 insertions(+), 3 dele