]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf...
authorJakub Kicinski <kuba@kernel.org>
Fri, 18 Jul 2025 01:07:37 +0000 (18:07 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 18 Jul 2025 01:07:37 +0000 (18:07 -0700)
Martin KaFai Lau says:

====================
pull-request: bpf-next 2025-07-17

We've added 13 non-merge commits during the last 20 day(s) which contain
a total of 4 files changed, 712 insertions(+), 84 deletions(-).

The main changes are:

1) Avoid skipping or repeating a sk when using a TCP bpf_iter,
   from Jordan Rife.

2) Clarify the driver requirement on using the XDP metadata,
   from Song Yoong Siang

* tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next:
  doc: xdp: Clarify driver implementation for XDP Rx metadata
  selftests/bpf: Add tests for bucket resume logic in established sockets
  selftests/bpf: Create iter_tcp_destroy test program
  selftests/bpf: Create established sockets in socket iterator tests
  selftests/bpf: Make ehash buckets configurable in socket iterator tests
  selftests/bpf: Allow for iteration over multiple states
  selftests/bpf: Allow for iteration over multiple ports
  selftests/bpf: Add tests for bucket resume logic in listening sockets
  bpf: tcp: Avoid socket skips and repeats during iteration
  bpf: tcp: Use bpf_tcp_iter_batch_item for bpf_tcp_iter_state batch items
  bpf: tcp: Get rid of st_bucket_done
  bpf: tcp: Make sure iter->batch always contains a full bucket snapshot
  bpf: tcp: Make mem flags configurable through bpf_iter_tcp_realloc_batch
====================

Link: https://patch.msgid.link/20250717191731.4142326-1-martin.lau@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1  2 
net/ipv4/tcp_ipv4.c

index a847d894ace38fe6d1fd13690d4b6e75cb35d29c,aef35555792e0d2f6c9a1fae23d34b0b48f26d48..16bf6fdff96b441064157698ed7e684c2fc30de6
@@@ -58,8 -58,8 +58,9 @@@
  #include <linux/times.h>
  #include <linux/slab.h>
  #include <linux/sched.h>
+ #include <linux/sock_diag.h>
  
 +#include <net/aligned_data.h>
  #include <net/net_namespace.h>
  #include <net/icmp.h>
  #include <net/inet_hashtables.h>