Thread (4 messages) flat view 4 messages, 2 authors, 2020-05-22

Re: [PATCH -net-next] net: psample: depends on INET

From: Cong Wang <hidden>
Date: 2020-05-22 19:17:47
Also in: linux-next, lkml

On Fri, May 22, 2020 at 12:03 PM Randy Dunlap [off-list ref] wrote:
From: Randy Dunlap <redacted>

Fix psample build error when CONFIG_INET is not set/enabled.
PSAMPLE should depend on INET instead of NET since
ip_tunnel_info_opts() is only present for CONFIG_INET.

../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]
Or just make this tunnel support optional. psample does not
require it to function correctly.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help