summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2020-05-22 23:05:26 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-24 02:36:05 +0300
commit07a7f30819475a6f058df6bba5150c50e7942cfb (patch)
treea17c8205a35fbc69ad73ca8a45655f8f1b5343de /include
parent0465d8f830dc40714db6c02e1db28b30206a82f7 (diff)
downloadlinux-07a7f30819475a6f058df6bba5150c50e7942cfb.tar.xz
net: psample: fix build error when CONFIG_INET is not enabled
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@infradead.org> Cc: Yotam Gigi <yotam.gi@gmail.com> Cc: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions