]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipvlan: assign unique dev-id for each slave device.
authorMahesh Bandewar <maheshb@google.com>
Tue, 3 Jan 2017 20:47:16 +0000 (12:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jan 2017 18:30:42 +0000 (13:30 -0500)
commit009146d117b9b816193fce0f1ed75f015a398721
treeecc9af780e7e623bd46314e4e39e7d8b8ff19960
parenta896eee3349e4e7f35a83f3b1a93c2e048d976b9
ipvlan: assign unique dev-id for each slave device.

IPvlan setup uses one mac-address (of master). The IPv6 link-local
addresses are derived using the mac-address on the link. Lack of
dev-ids makes these link-local addresses same for all slaves including
that of master device. dev-ids are necessary to add differentiation
when L2 address is shared.

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