[ovs-git] [openvswitch/ovs] 3e6dc8: netdev: Verify ifa_addr is not NULL when iterating...
noreply at github.com
Thu Mar 31 00:00:09 UTC 2016
Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Date: 2016-03-30 (Wed, 30 Mar 2016)
netdev: Verify ifa_addr is not NULL when iterating over getifaddrs.
Some point-to-point devices like TUN devices will not have an address, and while
iterating over ifaddrs, its ifa_addr will be NULL. This patch fixes a crash when
starting ovs-vswitchd on a system with such a device.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Fixes: a8704b502785 ("tunneling: Handle multiple ip address for given device.")
Cc: Pravin B Shelar <pshelar at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git