netdev-dpdk: Consistently use xstrdup() instead of strdup().
authorBen Pfaff <blp@ovn.org>
Mon, 11 Jan 2016 23:04:08 +0000 (15:04 -0800)
committerBen Pfaff <blp@ovn.org>
Tue, 12 Jan 2016 17:59:34 +0000 (09:59 -0800)
commit0d4af148a39899ebeea9b31362924a98d87a80d7
treeb01896fb64a7d9a31c99e36457bcc3454a524a47
parent8ea171aba044bf605c31313330ccabfc4fc5846c
netdev-dpdk: Consistently use xstrdup() instead of strdup().

This avoids a segmentation fault in case of memory allocation failure.

Found by inspection.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>
lib/netdev-dpdk.c