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)
commite9997c2938b23d792528da1597b3aea9b0f2a324
treec2e767997eb357c7b48e4711c336a89ddcc730ce
parent40891e8ad630558caae26788d37bf50137b6d5d2
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