network: allow users to forbid passthru MACVLAN from putting its link into promiscuou...
authorTom Yan <tom.ty89@gmail.com>
Mon, 16 Aug 2021 10:00:42 +0000 (18:00 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 24 Aug 2021 10:57:06 +0000 (12:57 +0200)
commit1d1b7de63902e5fa8d1ba900e9bf608e2ccd2b23
tree2611901f63fab3e9f16440a1a0727463dcd2666e
parent00e7f0994a39852ab1adabfb7e19ff2634e916a0
network: allow users to forbid passthru MACVLAN from putting its link into promiscuous mode

While we haven't implemented a key for users to set MACVLAN/MACVTAP flags,
we can at least allow them to make use of the Promiscuous= key of
the corresponding link to set the nopromisc flag.

(cherry picked from commit 17a6a4ae2e7104a1105a0cef0ba049799f3ef6bc)
src/network/netdev/macvlan.c