[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200523.163622.615775239274039260.davem@davemloft.net>
Date: Sat, 23 May 2020 16:36:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: rdunlap@...radead.org
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linux-next@...r.kernel.org, yotam.gi@...il.com,
xiyou.wangcong@...il.com
Subject: Re: [PATCH net-next v2] net: psample: fix build error when
CONFIG_INET is not enabled
From: Randy Dunlap <rdunlap@...radead.org>
Date: Fri, 22 May 2020 13:05:26 -0700
> From: Randy Dunlap <rdunlap@...radead.org>
>
> Fix psample build error when CONFIG_INET is not set/enabled by
> bracketing the tunnel code in #ifdef CONFIG_NET / #endif.
>
> ../net/psample/psample.c: In function ‘__psample_ip_tun_to_nlattr’:
> ../net/psample/psample.c:216:25: error: implicit declaration of function ‘ip_tunnel_info_opts’; did you mean ‘ip_tunnel_info_opts_set’? [-Werror=implicit-function-declaration]
>
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: Yotam Gigi <yotam.gi@...il.com>
> Cc: Cong Wang <xiyou.wangcong@...il.com>
> ---
> v2: Just bracket the new tunnel support code inside ifdef/endif (Cong Wang).
Applied, thanks Randy.
Powered by blists - more mailing lists