]> 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)
commitb602c36bdd5777bdb28de2e3bbdefef5f46db4b3
treec2e767997eb357c7b48e4711c336a89ddcc730ce
parent6a6569161764634116fddedbd99b44e829647af3
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