[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190208132941.bmbvuqckocuyhujr@breakpoint.cc>
Date: Fri, 8 Feb 2019 14:29:41 +0100
From: Florian Westphal <fw@...len.de>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
Mahesh Bandewar <maheshb@...gle.com>,
Florian Westphal <fw@...len.de>,
Martynas Pumputis <m@...bda.lt>
Subject: Re: [PATCH net-next] ipvlan: decouple l3s mode dependencies from
other modes
Daniel Borkmann <daniel@...earbox.net> wrote:
> Right now ipvlan has a hard dependency on CONFIG_NETFILTER and
> otherwise it cannot be built. However, the only ipvlan operation
> mode that actually depends on netfilter is l3s, everything else
> is independent of it. Break this hard dependency such that users
> are able to use ipvlan l3 mode on systems where netfilter is not
> compiled in.
>
> Therefore, this adds a hidden CONFIG_IPVLAN_L3S bool which is
> defaulting to y when CONFIG_NETFILTER is set in order to retain
> existing behavior for l3s. All l3s related code is refactored
> into ipvlan_l3s.c that is compiled in when enabled.
IIRC L3S is only meaningful with netfilter anyway, so this
looks like a good thing to do.
Acked-by: Florian Westphal <fw@...len.de>
Powered by blists - more mailing lists