]> git.baikalelectronics.ru Git - kernel.git/commit
ipvlan: introduce 'private' attribute for all existing modes.
authorMahesh Bandewar <maheshb@google.com>
Thu, 26 Oct 2017 22:09:21 +0000 (15:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Oct 2017 09:39:57 +0000 (18:39 +0900)
commit5e8cdb3e794cffc51127dfc928576c28c604ce3a
tree32db41a469cc840fda9c52aad23369fe02ab2cb7
parent4f97b37a4644f9cc5b0800ae3b5bb7dcb0d76519
ipvlan: introduce 'private' attribute for all existing modes.

IPvlan has always operated in bridge mode. However there are scenarios
where each slave should be able to talk through the master device but
not necessarily across each other. Think of an environment where each
of a namespace is a private and independant customer. In this scenario
the machine which is hosting these namespaces neither want to tell who
their neighbor is nor the individual namespaces care to talk to neighbor
on short-circuited network path.

This patch implements the mode that is very similar to the 'private' mode
in macvlan where individual slaves can send and receive traffic through
the master device, just that they can not talk among slave devices.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ipvlan.txt
drivers/net/ipvlan/ipvlan.h
drivers/net/ipvlan/ipvlan_core.c
drivers/net/ipvlan/ipvlan_main.c
include/uapi/linux/if_link.h