pcap: fix storage of name and type in queues
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Thu, 23 Apr 2015 14:32:48 +0000 (15:32 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 12 May 2015 10:18:33 +0000 (12:18 +0200)
commit1e38a7c669235c98d822bcfd2068ecd91ff990c1
tree0ed1b6c5bb336d5e27b70fb4408f4b47471ee6b3
parente6eff1ba4a235e42a3026f4342da2eef3a60a91e
pcap: fix storage of name and type in queues

pcap_rx_queue/pcap_tx_queue should store it's own copy of name/type values,
not the pointer to temporary allocated space.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: John Mcnamara <john.mcnamara@intel.com>
lib/librte_pmd_pcap/rte_eth_pcap.c