* pull-request: bpf 2020-12-28
@ 2020-12-28 21:28 Daniel Borkmann
2020-12-28 23:32 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Borkmann @ 2020-12-28 21:28 UTC (permalink / raw)
To: davem; +Cc: kuba, daniel, ast, bsd, netdev, bpf
Hi David, hi Jakub,
The following pull-request contains BPF updates for your *net* tree.
There is a small merge conflict between bpf tree commit 69ca310f3416
("bpf: Save correct stopping point in file seq iteration") and net tree
commit 66ed594409a1 ("bpf/task_iter: In task_file_seq_get_next use
task_lookup_next_fd_rcu"). The get_files_struct() does not exist anymore
in net, so take the hunk in HEAD and add the `info->tid = curr_tid` to
the error path:
[...]
curr_task = task_seq_get_next(ns, &curr_tid, true);
if (!curr_task) {
info->task = NULL;
info->tid = curr_tid;
return NULL;
}
/* set info->task and info->tid */
[...]
We've added 10 non-merge commits during the last 9 day(s) which contain
a total of 11 files changed, 75 insertions(+), 20 deletions(-).
The main changes are:
1) Various AF_XDP fixes such as fill/completion ring leak on failed bind and
fixing a race in skb mode's backpressure mechanism, from Magnus Karlsson.
2) Fix latency spikes on lockdep enabled kernels by adding a rescheduling
point to BPF hashtab initialization, from Eric Dumazet.
3) Fix a splat in task iterator by saving the correct stopping point in the
seq file iteration, from Jonathan Lemon.
4) Fix BPF maps selftest by adding retries in case hashtab returns EBUSY
errors on update/deletes, from Andrii Nakryiko.
5) Fix BPF selftest error reporting to something more user friendly if the
vmlinux BTF cannot be found, from Kamal Mostafa.
Please consider pulling these changes from:
git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git
Thanks a lot!
Also thanks to reporters, reviewers and testers of commits in this pull-request:
Andrii Nakryiko, Björn Töpel, John Sperbeck, Song Liu, Xuan Zhuo
----------------------------------------------------------------
The following changes since commit 3db1a3fa98808aa90f95ec3e0fa2fc7abf28f5c9:
Merge tag 'staging-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging (2020-12-15 14:18:40 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git
for you to fetch changes up to a61daaf351da7c8493f2586437617d60c24350b0:
bpf: Use thread_group_leader() (2020-12-24 02:04:53 +0100)
----------------------------------------------------------------
Andrii Nakryiko (1):
selftests/bpf: Work-around EBUSY errors from hashmap update/delete
Colin Ian King (1):
selftests/bpf: Fix spelling mistake "tranmission" -> "transmission"
Eric Dumazet (1):
bpf: Add schedule point in htab_init_buckets()
Jonathan Lemon (2):
bpf: Save correct stopping point in file seq iteration
bpf: Use thread_group_leader()
Kamal Mostafa (1):
selftests/bpf: Clarify build error if no vmlinux
Magnus Karlsson (3):
xsk: Fix memory leak for failed bind
xsk: Fix race in SKB mode transmit with shared cq
xsk: Rollback reservation at NETDEV_TX_BUSY
Tian Tao (1):
bpf: Remove unused including <linux/version.h>
include/net/xdp_sock.h | 4 ---
include/net/xsk_buff_pool.h | 5 ++++
kernel/bpf/hashtab.c | 1 +
kernel/bpf/syscall.c | 1 -
kernel/bpf/task_iter.c | 5 ++--
net/xdp/xsk.c | 16 +++++++++--
net/xdp/xsk_buff_pool.c | 3 +-
net/xdp/xsk_queue.h | 5 ++++
tools/testing/selftests/bpf/Makefile | 3 ++
tools/testing/selftests/bpf/test_maps.c | 48 ++++++++++++++++++++++++++++----
tools/testing/selftests/bpf/xdpxceiver.c | 4 +--
11 files changed, 75 insertions(+), 20 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: pull-request: bpf 2020-12-28
2020-12-28 21:28 pull-request: bpf 2020-12-28 Daniel Borkmann
@ 2020-12-28 23:32 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-12-28 23:32 UTC (permalink / raw)
To: daniel; +Cc: kuba, ast, bsd, netdev, bpf
From: Daniel Borkmann <daniel@iogearbox.net>
Date: Mon, 28 Dec 2020 22:28:30 +0100
> Hi David, hi Jakub,
>
> The following pull-request contains BPF updates for your *net* tree.
>
> There is a small merge conflict between bpf tree commit 69ca310f3416
> ("bpf: Save correct stopping point in file seq iteration") and net tree
> commit 66ed594409a1 ("bpf/task_iter: In task_file_seq_get_next use
> task_lookup_next_fd_rcu"). The get_files_struct() does not exist anymore
> in net, so take the hunk in HEAD and add the `info->tid = curr_tid` to
> the error path:
>
> [...]
> curr_task = task_seq_get_next(ns, &curr_tid, true);
> if (!curr_task) {
> info->task = NULL;
> info->tid = curr_tid;
> return NULL;
> }
>
> /* set info->task and info->tid */
> [...]
>
> We've added 10 non-merge commits during the last 9 day(s) which contain
> a total of 11 files changed, 75 insertions(+), 20 deletions(-).
>
> The main changes are:
>
> 1) Various AF_XDP fixes such as fill/completion ring leak on failed bind and
> fixing a race in skb mode's backpressure mechanism, from Magnus Karlsson.
>
> 2) Fix latency spikes on lockdep enabled kernels by adding a rescheduling
> point to BPF hashtab initialization, from Eric Dumazet.
>
> 3) Fix a splat in task iterator by saving the correct stopping point in the
> seq file iteration, from Jonathan Lemon.
>
> 4) Fix BPF maps selftest by adding retries in case hashtab returns EBUSY
> errors on update/deletes, from Andrii Nakryiko.
>
> 5) Fix BPF selftest error reporting to something more user friendly if the
> vmlinux BTF cannot be found, from Kamal Mostafa.
>
> Please consider pulling these changes from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git
>
> Thanks a lot!
>
> Also thanks to reporters, reviewers and testers of commits in this pull-request:
>
> Andrii Nakryiko, Björn Töpel, John Sperbeck, Song Liu, Xuan Zhuo
>
> ----------------------------------------------------------------
>
> The following changes since commit 3db1a3fa98808aa90f95ec3e0fa2fc7abf28f5c9:
>
> Merge tag 'staging-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging (2020-12-15 14:18:40 -0800)
>
> are available in the Git repository at:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git
>
Pulled, thanks. Please double check my conflict resolution.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-28 23:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-28 21:28 pull-request: bpf 2020-12-28 Daniel Borkmann
2020-12-28 23:32 ` David Miller
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).