netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pull-request: bpf 2024-06-24
@ 2024-06-24 12:43 Daniel Borkmann
  2024-06-25  1:41 ` Jakub Kicinski
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Borkmann @ 2024-06-24 12:43 UTC (permalink / raw)
  To: davem; +Cc: kuba, pabeni, edumazet, daniel, ast, andrii, martin.lau, netdev,
	bpf

Hi David, hi Jakub, hi Paolo, hi Eric,

The following pull-request contains BPF updates for your *net* tree.

We've added 12 non-merge commits during the last 10 day(s) which contain
a total of 10 files changed, 412 insertions(+), 16 deletions(-).

The main changes are:

1) Fix a BPF verifier issue validating may_goto with a negative offset,
   from Alexei Starovoitov.

2) Fix a BPF verifier validation bug with may_goto combined with jump to
   the first instruction, also from Alexei Starovoitov.

3) Fix a bug with overrunning reservations in BPF ring buffer,
   from Daniel Borkmann.

4) Fix a bug in BPF verifier due to missing proper var_off setting related
   to movsx instruction, from Yonghong Song.

5) Silence unnecessary syzkaller-triggered warning in __xdp_reg_mem_model(),
   from Daniil Dulov.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

Thanks a lot!

Also thanks to reporters, reviewers and testers of commits in this pull-request:

Barret Rhoden, Bing-Jhong Billy Jheng, Eduard Zingerman, Jesper Dangaard 
Brouer, Muhammad Ramdhan, Pengfei Xu, Zac Ecob

----------------------------------------------------------------

The following changes since commit 143492fce36161402fa2f45a0756de7ff69c366a:

  Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (2024-06-14 19:05:38 -0700)

are available in the Git repository at:

  ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

for you to fetch changes up to 7e9f79428372c6eab92271390851be34ab26bfb4:

  xdp: Remove WARN() from __xdp_reg_mem_model() (2024-06-24 13:44:02 +0200)

----------------------------------------------------------------
bpf-for-netdev

----------------------------------------------------------------
Alexei Starovoitov (6):
      Merge branch 'bpf-fix-missed-var_off-related-to-movsx-in-verifier'
      bpf: Fix remap of arena.
      bpf: Fix the corner case with may_goto and jump to the 1st insn.
      selftests/bpf: Tests with may_goto and jumps to the 1st insn
      bpf: Fix may_goto with negative offset.
      selftests/bpf: Add tests for may_goto with negative offset.

Daniel Borkmann (2):
      bpf: Fix overrunning reservations in ringbuf
      selftests/bpf: Add more ring buffer test coverage

Daniil Dulov (1):
      xdp: Remove WARN() from __xdp_reg_mem_model()

Matt Bobrowski (1):
      bpf: Update BPF LSM maintainer list

Yonghong Song (3):
      bpf: Add missed var_off setting in set_sext32_default_val()
      bpf: Add missed var_off setting in coerce_subreg_to_size_sx()
      selftests/bpf: Add a few tests to cover

 MAINTAINERS                                        |   3 +-
 kernel/bpf/arena.c                                 |  16 ++-
 kernel/bpf/ringbuf.c                               |  31 ++++-
 kernel/bpf/verifier.c                              |  61 ++++++++-
 net/core/xdp.c                                     |   4 +-
 tools/testing/selftests/bpf/Makefile               |   2 +-
 tools/testing/selftests/bpf/prog_tests/ringbuf.c   |  56 ++++++++
 .../selftests/bpf/progs/test_ringbuf_write.c       |  46 +++++++
 .../bpf/progs/verifier_iterating_callbacks.c       | 146 +++++++++++++++++++++
 tools/testing/selftests/bpf/progs/verifier_movsx.c |  63 +++++++++
 10 files changed, 412 insertions(+), 16 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/progs/test_ringbuf_write.c

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

* Re: pull-request: bpf 2024-06-24
  2024-06-24 12:43 pull-request: bpf 2024-06-24 Daniel Borkmann
@ 2024-06-25  1:41 ` Jakub Kicinski
  2024-06-25  7:46   ` Daniel Borkmann
  0 siblings, 1 reply; 5+ messages in thread
From: Jakub Kicinski @ 2024-06-25  1:41 UTC (permalink / raw)
  To: Daniel Borkmann
  Cc: davem, pabeni, edumazet, ast, andrii, martin.lau, netdev, bpf

On Mon, 24 Jun 2024 14:43:30 +0200 Daniel Borkmann wrote:
> The following changes since commit 143492fce36161402fa2f45a0756de7ff69c366a:
> 
>   Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (2024-06-14 19:05:38 -0700)
> 
> are available in the Git repository at:
> 
>   ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

Bot seems to not be responding, so: pulled, thanks!

BTW was the ssh link intentional?

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

* Re: pull-request: bpf 2024-06-24
  2024-06-25  1:41 ` Jakub Kicinski
@ 2024-06-25  7:46   ` Daniel Borkmann
  2024-06-25 14:13     ` Jakub Kicinski
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Borkmann @ 2024-06-25  7:46 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: davem, pabeni, edumazet, ast, andrii, martin.lau, netdev, bpf

On 6/25/24 3:41 AM, Jakub Kicinski wrote:
> On Mon, 24 Jun 2024 14:43:30 +0200 Daniel Borkmann wrote:
>> The following changes since commit 143492fce36161402fa2f45a0756de7ff69c366a:
>>
>>    Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (2024-06-14 19:05:38 -0700)
>>
>> are available in the Git repository at:
>>
>>    ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev
> 
> Bot seems to not be responding, so: pulled, thanks!
> 
> BTW was the ssh link intentional? 

Yes at least from what I read at users@k.o the recommendation / preference is
to use the gitolite link so that you as kernel.org user do not get artificially
throttled when pulling.

Thanks,
Daniel

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

* Re: pull-request: bpf 2024-06-24
  2024-06-25  7:46   ` Daniel Borkmann
@ 2024-06-25 14:13     ` Jakub Kicinski
  2024-06-25 15:42       ` Daniel Borkmann
  0 siblings, 1 reply; 5+ messages in thread
From: Jakub Kicinski @ 2024-06-25 14:13 UTC (permalink / raw)
  To: Daniel Borkmann
  Cc: davem, pabeni, edumazet, ast, andrii, martin.lau, netdev, bpf

On Tue, 25 Jun 2024 09:46:39 +0200 Daniel Borkmann wrote:
> On 6/25/24 3:41 AM, Jakub Kicinski wrote:
> > On Mon, 24 Jun 2024 14:43:30 +0200 Daniel Borkmann wrote:  
> >> The following changes since commit 143492fce36161402fa2f45a0756de7ff69c366a:
> >>
> >>    Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (2024-06-14 19:05:38 -0700)
> >>
> >> are available in the Git repository at:
> >>
> >>    ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev  
> > 
> > Bot seems to not be responding, so: pulled, thanks!
> > 
> > BTW was the ssh link intentional?   
> 
> Yes at least from what I read at users@k.o the recommendation / preference is
> to use the gitolite link so that you as kernel.org user do not get artificially
> throttled when pulling.

Hm. Wasn't there some suggestion for people to locally have a rule to
replace links if they want that? The SSH link is impossible for bots to
pull. I guess I could sprinkle regexps in all the bots but that sounds
like a pain. And TBH I've personally never experienced the throttling
issues K mentioned, so I see no upside :(

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

* Re: pull-request: bpf 2024-06-24
  2024-06-25 14:13     ` Jakub Kicinski
@ 2024-06-25 15:42       ` Daniel Borkmann
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Borkmann @ 2024-06-25 15:42 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: davem, pabeni, edumazet, ast, andrii, martin.lau, netdev, bpf

On 6/25/24 4:13 PM, Jakub Kicinski wrote:
> On Tue, 25 Jun 2024 09:46:39 +0200 Daniel Borkmann wrote:
>> On 6/25/24 3:41 AM, Jakub Kicinski wrote:
>>> On Mon, 24 Jun 2024 14:43:30 +0200 Daniel Borkmann wrote:
>>>> The following changes since commit 143492fce36161402fa2f45a0756de7ff69c366a:
>>>>
>>>>     Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (2024-06-14 19:05:38 -0700)
>>>>
>>>> are available in the Git repository at:
>>>>
>>>>     ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev
>>>
>>> Bot seems to not be responding, so: pulled, thanks!
>>>
>>> BTW was the ssh link intentional?
>>
>> Yes at least from what I read at users@k.o the recommendation / preference is
>> to use the gitolite link so that you as kernel.org user do not get artificially
>> throttled when pulling.
> 
> Hm. Wasn't there some suggestion for people to locally have a rule to
> replace links if they want that? The SSH link is impossible for bots to
> pull. I guess I could sprinkle regexps in all the bots but that sounds
> like a pain. And TBH I've personally never experienced the throttling
> issues K mentioned, so I see no upside :(

Ok, no problem at all, next ones will go back to old url.

Thanks,
Daniel

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

end of thread, other threads:[~2024-06-25 15:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-24 12:43 pull-request: bpf 2024-06-24 Daniel Borkmann
2024-06-25  1:41 ` Jakub Kicinski
2024-06-25  7:46   ` Daniel Borkmann
2024-06-25 14:13     ` Jakub Kicinski
2024-06-25 15:42       ` Daniel Borkmann

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