bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: linux-next: Tree for Jul 20 (kernel/bpf/net_namespace)
       [not found] ` <a97220b2-9864-eb49-6e27-0ec5b7e5b977@infradead.org>
@ 2020-07-20 18:49   ` Stephen Rothwell
  2020-07-20 19:37     ` Alexei Starovoitov
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2020-07-20 18:49 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, netdev, bpf,
	Alexei Starovoitov, Daniel Borkmann

[-- Attachment #1: Type: text/plain, Size: 801 bytes --]

Hi all,

On Mon, 20 Jul 2020 08:51:54 -0700 Randy Dunlap <rdunlap@infradead.org> wrote:
>
> on i386 or x86_64:
> 
> # CONFIG_INET is not set
> # CONFIG_NET_NS is not set
> 
> ld: kernel/bpf/net_namespace.o: in function `bpf_netns_link_release':
> net_namespace.c:(.text+0x32c): undefined reference to `bpf_sk_lookup_enabled'
> ld: kernel/bpf/net_namespace.o: in function `netns_bpf_link_create':
> net_namespace.c:(.text+0x8b7): undefined reference to `bpf_sk_lookup_enabled'
> ld: kernel/bpf/net_namespace.o: in function `netns_bpf_pernet_pre_exit':
> net_namespace.c:(.ref.text+0xa3): undefined reference to `bpf_sk_lookup_enabled'

Caused by commit

  1559b4aa1db4 ("inet: Run SK_LOOKUP BPF program on socket lookup")

from the bpf-next tree.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: Tree for Jul 20 (kernel/bpf/net_namespace)
  2020-07-20 18:49   ` linux-next: Tree for Jul 20 (kernel/bpf/net_namespace) Stephen Rothwell
@ 2020-07-20 19:37     ` Alexei Starovoitov
  2020-07-21 10:19       ` Jakub Sitnicki
  0 siblings, 1 reply; 3+ messages in thread
From: Alexei Starovoitov @ 2020-07-20 19:37 UTC (permalink / raw)
  To: Stephen Rothwell, Jakub Sitnicki
  Cc: Randy Dunlap, Linux Next Mailing List, Linux Kernel Mailing List,
	netdev, bpf, Alexei Starovoitov, Daniel Borkmann

On Mon, Jul 20, 2020 at 11:49 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> On Mon, 20 Jul 2020 08:51:54 -0700 Randy Dunlap <rdunlap@infradead.org> wrote:
> >
> > on i386 or x86_64:
> >
> > # CONFIG_INET is not set
> > # CONFIG_NET_NS is not set
> >
> > ld: kernel/bpf/net_namespace.o: in function `bpf_netns_link_release':
> > net_namespace.c:(.text+0x32c): undefined reference to `bpf_sk_lookup_enabled'
> > ld: kernel/bpf/net_namespace.o: in function `netns_bpf_link_create':
> > net_namespace.c:(.text+0x8b7): undefined reference to `bpf_sk_lookup_enabled'
> > ld: kernel/bpf/net_namespace.o: in function `netns_bpf_pernet_pre_exit':
> > net_namespace.c:(.ref.text+0xa3): undefined reference to `bpf_sk_lookup_enabled'
>
> Caused by commit
>
>   1559b4aa1db4 ("inet: Run SK_LOOKUP BPF program on socket lookup")
>
> from the bpf-next tree.

Jakub, please take a look.

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

* Re: linux-next: Tree for Jul 20 (kernel/bpf/net_namespace)
  2020-07-20 19:37     ` Alexei Starovoitov
@ 2020-07-21 10:19       ` Jakub Sitnicki
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub Sitnicki @ 2020-07-21 10:19 UTC (permalink / raw)
  To: Alexei Starovoitov
  Cc: Stephen Rothwell, Randy Dunlap, Linux Next Mailing List,
	Linux Kernel Mailing List, netdev, bpf, Alexei Starovoitov,
	Daniel Borkmann

On Mon, Jul 20, 2020 at 09:37 PM CEST, Alexei Starovoitov wrote:
> On Mon, Jul 20, 2020 at 11:49 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>>
>> Hi all,
>>
>> On Mon, 20 Jul 2020 08:51:54 -0700 Randy Dunlap <rdunlap@infradead.org> wrote:
>> >
>> > on i386 or x86_64:
>> >
>> > # CONFIG_INET is not set
>> > # CONFIG_NET_NS is not set
>> >
>> > ld: kernel/bpf/net_namespace.o: in function `bpf_netns_link_release':
>> > net_namespace.c:(.text+0x32c): undefined reference to `bpf_sk_lookup_enabled'
>> > ld: kernel/bpf/net_namespace.o: in function `netns_bpf_link_create':
>> > net_namespace.c:(.text+0x8b7): undefined reference to `bpf_sk_lookup_enabled'
>> > ld: kernel/bpf/net_namespace.o: in function `netns_bpf_pernet_pre_exit':
>> > net_namespace.c:(.ref.text+0xa3): undefined reference to `bpf_sk_lookup_enabled'
>>
>> Caused by commit
>>
>>   1559b4aa1db4 ("inet: Run SK_LOOKUP BPF program on socket lookup")
>>
>> from the bpf-next tree.
>
> Jakub, please take a look.

Sorry about that. Proposed fix:

  https://lore.kernel.org/bpf/20200721100716.720477-1-jakub@cloudflare.com/  

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

end of thread, other threads:[~2020-07-21 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200720194225.17de9962@canb.auug.org.au>
     [not found] ` <a97220b2-9864-eb49-6e27-0ec5b7e5b977@infradead.org>
2020-07-20 18:49   ` linux-next: Tree for Jul 20 (kernel/bpf/net_namespace) Stephen Rothwell
2020-07-20 19:37     ` Alexei Starovoitov
2020-07-21 10:19       ` Jakub Sitnicki

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).