net/pcap: fix using mbuf after freeing it
authorJohan Samuelsson <johan.xb.samuelsson@ericsson.com>
Mon, 13 Mar 2017 09:21:25 +0000 (10:21 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:39 +0000 (18:59 +0200)
commit8dc7358b286e79d0acac5e0eb6e1a70a9b8652b0
treee9848d70a60ed5065cc5b5e2374411f168d97a32
parente3efd85bf98652106f4b8cb08fb2d5df689124da
net/pcap: fix using mbuf after freeing it

Fixes: 2269e7e815a2 ("pcap: add Rx and Tx byte counters")
Cc: stable@dpdk.org
Signed-off-by: Johan Samuelsson <johan.xb.samuelsson@ericsson.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/pcap/rte_eth_pcap.c