commit | 1893ff20275b9b9be4892b5b5785788ce45abdea | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Tue Mar 13 08:29:38 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 16 11:28:38 2018 -0400 |
tree | d3336bda07a6b173521549acf65d0fdfc6e9c573 | |
parent | 232378e8db4780bc7145d7a0ee47f5f80a41ad6b [diff] |
net/ipv6: Add l3mdev check to ipv6_chk_addr_and_flags Lookup the L3 master device for the passed in device. Only consider addresses on netdev's with the same master device. If the device is not enslaved or is NULL, then the l3mdev is NULL which means only devices not enslaved (ie, in the default domain) are considered. Signed-off-by: David Ahern <dsahern@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>