[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150929005545.GA22155@verge.net.au>
Date: Tue, 29 Sep 2015 09:55:46 +0900
From: Simon Horman <horms@...ge.net.au>
To: Julian Anastasov <ja@....bg>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Pablo Neira Ayuso <pablo@...filter.org>,
lvs-devel@...r.kernel.org, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org,
Wensong Zhang <wensong@...ux-vs.org>
Subject: Re: [PATCH] ipvs: Don't protect ip_vs_addr_is_unicast with
CONFIG_SYSCTL
On Mon, Sep 28, 2015 at 09:45:28PM +0300, Julian Anastasov wrote:
>
> Hello,
>
> On Mon, 28 Sep 2015, Eric W. Biederman wrote:
>
> > I arranged the code so that the compiler can remove the unecessary bits
> > in ip_vs_leave when CONFIG_SYSCTL is unset, and removed an explicit
> > CONFIG_SYSCTL.
> >
> > Unfortunately when rebasing my work on top of that of Alex Gartrell I
> > missed the fact that the newly added function ip_vs_addr_is_unicast was
> > surrounded by CONFIG_SYSCTL.
> >
> > So remove the now unnecessary CONFIG_SYSCTL guards around
> > ip_vs_addr_is_unicast. It is causing build failures today when
> > CONFIG_SYSCTL is not selected and any self respecting compiler will
> > notice that sysctl_cache_bypass is always false without CONFIG_SYSCTL
> > and not include the logic from the function ip_vs_addr_is_unicast in
> > the compiled code.
> >
> > Signed-off-by: "Eric W. Biederman" <ebiederm@...ssion.com>
>
> Acked-by: Julian Anastasov <ja@....bg>
>
> Simon, please apply to ipvs-next
Thanks, applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists