[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cecf76aa-2883-741e-1901-2f4850e2c188@mojatatu.com>
Date: Sat, 22 Apr 2017 08:31:49 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Daniel Borkmann <daniel@...earbox.net>,
Stephen Hemminger <stephen@...workplumber.org>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: compile issue in latest iproute2
I dont think is a kernel uapi - but it was failing compiling
when HAVE_ELF is false.
-----
jhs@...-UX:~/git-trees/others/iproute-with-ck$ git diff include/bpf_util.h
diff --git a/include/bpf_util.h b/include/bpf_util.h
index 5361dab..edca339 100644
--- a/include/bpf_util.h
+++ b/include/bpf_util.h
@@ -266,7 +266,7 @@ int bpf_send_map_fds(const char *path, const char *obj);
int bpf_recv_map_fds(const char *path, int *fds, struct bpf_map_aux *aux,
unsigned int entries);
#else
-static inline int bpf_send_map_fds(const char *path, const char *obj)
+inline int bpf_send_map_fds(const char *path, const char *obj)
{
return 0;
}
-----
Let me know if you want a formal patch or feel free to take it.
cheers,
jamal
Powered by blists - more mailing lists