]> git.proxmox.com Git - mirror_ovs.git/commit - lib/netdev-dpdk.c
netdev-dpdk: Use xasprintf() when possible.
authorDaniele Di Proietto <diproiettod@vmware.com>
Wed, 5 Oct 2016 00:58:05 +0000 (17:58 -0700)
committerDaniele Di Proietto <diproiettod@vmware.com>
Wed, 12 Oct 2016 23:27:16 +0000 (16:27 -0700)
commit0c6f39e5b14237251f2dc2adba95cd7e6669134e
treed212463d41fc629af82fce13c8a0caf700c4d89d
parenteff23640bdc1f30f61d57c30395f37a338a6e597
netdev-dpdk: Use xasprintf() when possible.

We're in the slowpath.  I find it easier to allocate and free memory,
than to handle snprintf() error conditions.

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