]> git.baikalelectronics.ru Git - kernel.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)
commit49adbfee68119b134beada3c968b1a68899b7426
treeecc9af780e7e623bd46314e4e39e7d8b8ff19960
parent952b722f0133f461287dcbf5006ae8bfa6d2d5cc
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