Re: [ovs-dev] [PATCH v2] netdev: check for NULL fields in netdev_get_addrs

2017-07-19 Thread Timothy M. Redaelli
On 07/18/2017 05:25 PM, Daniel Alvarez Sanchez wrote: > When the interfaces list is retrieved through getiffaddrs(), there > might be elements with iface_name set to NULL. > > This patch checks ifa_name to be not NULL before comparing it to the > actual device name in the loop that calculates how

Re: [ovs-dev] [PATCH v2] netdev: check for NULL fields in netdev_get_addrs

2017-07-18 Thread Aaron Conole
Daniel Alvarez Sanchez writes: > When the interfaces list is retrieved through getiffaddrs(), there > might be elements with iface_name set to NULL. > > This patch checks ifa_name to be not NULL before comparing it to the > actual device name in the loop that calculates how many interfaces > exis

[ovs-dev] [PATCH v2] netdev: check for NULL fields in netdev_get_addrs

2017-07-18 Thread Daniel Alvarez Sanchez
When the interfaces list is retrieved through getiffaddrs(), there might be elements with iface_name set to NULL. This patch checks ifa_name to be not NULL before comparing it to the actual device name in the loop that calculates how many interfaces exist with that same name. Also, this patch che