]> git.baikalelectronics.ru Git - kernel.git/commit
ipvlan: fix check for IP addresses in control path
authorJiri Benc <jbenc@redhat.com>
Sat, 28 Mar 2015 18:13:25 +0000 (19:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2015 17:28:33 +0000 (13:28 -0400)
commitf623414cb7dcc05d94af52411f5197d5802266da
treec2e767997eb357c7b48e4711c336a89ddcc730ce
parentff80f649b17ee88cf756c831e39d6a33b5519dc2
ipvlan: fix check for IP addresses in control path

When an ipvlan interface is down, its addresses are not on the hash list.
Fix checks for existence of addresses not to depend on the hash list, walk
through all interface addresses instead.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan.h
drivers/net/ipvlan/ipvlan_core.c
drivers/net/ipvlan/ipvlan_main.c