]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ipvlan: forbid vlan devices on top of ipvlan
authorPaolo Abeni <pabeni@redhat.com>
Fri, 2 Mar 2018 15:03:32 +0000 (16:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Mar 2018 23:39:54 +0000 (18:39 -0500)
commit3518e40b3cd8ebce52edaad417ecd1d560f15f1b
treeb687a7a51532b53070311ff2012a70c6ff8e1ee2
parent51568d69407d939e898a150b13cf48d226f53303
ipvlan: forbid vlan devices on top of ipvlan

Currently we allow the creation of 8021q devices on top of
ipvlan, but such devices are nonfunctional, as the underlying
ipvlan rx_hanlder hook can't match the relevant traffic.

Be explicit and forbid the creation of such nonfunctional devices.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan_main.c