netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* compile issue in latest iproute2
@ 2017-04-22 12:31 Jamal Hadi Salim
  2017-04-22 15:00 ` Daniel Borkmann
  0 siblings, 1 reply; 6+ messages in thread
From: Jamal Hadi Salim @ 2017-04-22 12:31 UTC (permalink / raw)
  To: Daniel Borkmann, Stephen Hemminger; +Cc: netdev@vger.kernel.org


I dont think is a kernel uapi - but it was failing compiling
when HAVE_ELF is false.
-----
jhs@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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-22 20:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-22 12:31 compile issue in latest iproute2 Jamal Hadi Salim
2017-04-22 15:00 ` Daniel Borkmann
2017-04-22 16:18   ` Daniel Borkmann
2017-04-22 16:43     ` Jamal Hadi Salim
2017-04-22 16:54       ` Stephen Hemminger
2017-04-22 20:06         ` Jamal Hadi Salim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).