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>
Thu, 13 Jan 2022 09:38:56 +0000 (10:38 +0100)
commitbb5bfd807b3571ca4d9e532476162abf79c0d48c
tree1a397642db8a31d8ee4ab9533366fe995894c6b6
parent81b100d90d9dc57b243452758af2dfed5a1c3c81
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)
(cherry picked from commit 1d1b7de63902e5fa8d1ba900e9bf608e2ccd2b23)
src/network/netdev/macvlan.c