All of lore.kernel.org
 help / color / mirror / Atom feed
From: Or Gerlitz <ogerlitz@mellanox.com>
To: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@plumgrid.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: link failures with bpf_map_xxx_elem_proto calls from net/core/filiter.c
Date: Wed, 4 Mar 2015 10:42:04 +0200	[thread overview]
Message-ID: <54F6C55C.9090400@mellanox.com> (raw)

Hi Daniel,

With net-next (and probably net or Linus tree too), I am getting these 
link failures

net/built-in.o:(.rodata+0x2210): undefined reference to 
`bpf_map_lookup_elem_proto'
net/built-in.o:(.rodata+0x2218): undefined reference to 
`bpf_map_update_elem_proto'
net/built-in.o:(.rodata+0x2220): undefined reference to 
`bpf_map_delete_elem_proto'

which are resolved when CONFIG_BPF_SYSCALL is added to the kernel 
config, I see now t hat this 4.0-rc1 commit d4052c4aea0cf "ebpf: remove 
CONFIG_BPF_SYSCALL ifdefs in socket filter code" removed the ifdefing, 
not sure what does "BPF internal header can deal with it" means.

Or.

             reply	other threads:[~2015-03-04  8:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04  8:42 Or Gerlitz [this message]
2015-03-04  8:56 ` link failures with bpf_map_xxx_elem_proto calls from net/core/filiter.c Or Gerlitz
2015-03-04 15:44   ` Alexei Starovoitov
2015-03-05 19:06   ` Daniel Borkmann
2015-03-05 19:04 ` Daniel Borkmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54F6C55C.9090400@mellanox.com \
    --to=ogerlitz@mellanox.com \
    --cc=ast@plumgrid.com \
    --cc=daniel@iogearbox.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.