net/af_packet: handle possible null pointer
authorChas Williams <ciwillia@brocade.com>
Wed, 17 May 2017 18:03:33 +0000 (14:03 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:26 +0000 (10:41 +0100)
commit92656e96dda5ce01d16fc751149c2763f315e6e5
treeb0926ccaa4213fbe4e5eb66a1f86d6f2d54afb6e
parentf28ede500c2ed5f14cb5aa549ea1116c4e04c5f7
net/af_packet: handle possible null pointer

Fixes: 1b93c2aa81b4 ("net/af_packet: add interface name to internals")
Cc: stable@dpdk.org
Signed-off-by: Chas Williams <ciwillia@brocade.com>
drivers/net/af_packet/rte_eth_af_packet.c