linux/tools/testing/selftests/net
Linus Torvalds 509d3f4584 Significant patch series in this pull request:
- The 6 patch series "panic: sys_info: Refactor and fix a potential
   issue" from Andy Shevchenko fixes a build issue and does some cleanup in
   ib/sys_info.c.
 
 - The 9 patch series "Implement mul_u64_u64_div_u64_roundup()" from
   David Laight enhances the 64-bit math code on behalf of a PWM driver and
   beefs up the test module for these library functions.
 
 - The 2 patch series "scripts/gdb/symbols: make BPF debug info available
   to GDB" from Ilya Leoshkevich makes BPF symbol names, sizes, and line
   numbers available to the GDB debugger.
 
 - The 4 patch series "Enable hung_task and lockup cases to dump system
   info on demand" from Feng Tang adds a sysctl which can be used to cause
   additional info dumping when the hung-task and lockup detectors fire.
 
 - The 6 patch series "lib/base64: add generic encoder/decoder, migrate
   users" from Kuan-Wei Chiu adds a general base64 encoder/decoder to lib/
   and migrates several users away from their private implementations.
 
 - The 2 patch series "rbree: inline rb_first() and rb_last()" from Eric
   Dumazet makes TCP a little faster.
 
 - The 9 patch series "liveupdate: Rework KHO for in-kernel users" from
   Pasha Tatashin reworks the KEXEC Handover interfaces in preparation for
   Live Update Orchestrator (LUO), and possibly for other future clients.
 
 - The 13 patch series "kho: simplify state machine and enable dynamic
   updates" from Pasha Tatashin increases the flexibility of KEXEC
   Handover.  Also preparation for LUO.
 
 - The 18 patch series "Live Update Orchestrator" from Pasha Tatashin is
   a major new feature targeted at cloud environments.  Quoting the [0/N]:
 
     This series introduces the Live Update Orchestrator, a kernel subsystem
     designed to facilitate live kernel updates using a kexec-based reboot.
     This capability is critical for cloud environments, allowing hypervisors
     to be updated with minimal downtime for running virtual machines.  LUO
     achieves this by preserving the state of selected resources, such as
     memory, devices and their dependencies, across the kernel transition.
 
     As a key feature, this series includes support for preserving memfd file
     descriptors, which allows critical in-memory data, such as guest RAM or
     any other large memory region, to be maintained in RAM across the kexec
     reboot.
 
   Mike Rappaport merits a mention here, for his extensive review and
   testing work.
 
 - The 3 patch series "kexec: reorganize kexec and kdump sysfs" from
   Sourabh Jain moves the kexec and kdump sysfs entries from /sys/kernel/
   to /sys/kernel/kexec/ and adds back-compatibility symlinks which can
   hopefully be removed one day.
 
 - The 2 patch series "kho: fixes for vmalloc restoration" from Mike
   Rapoport fixes a BUG which was being hit during KHO restoration of
   vmalloc() regions.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQTTMBEPP41GrTpTJgfdBJ7gKXxAjgUCaTSAkQAKCRDdBJ7gKXxA
 jrkiAP9QKfsRv46XZaM5raScjY1ayjP+gqb2rgt6BQ/gZvb2+wD/cPAYOR6BiX52
 n0pVpQmG5P/KyOmpLztn96ejL4heKwQ=
 =JY96
 -----END PGP SIGNATURE-----

Merge tag 'mm-nonmm-stable-2025-12-06-11-14' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Pull non-MM updates from Andrew Morton:

 - "panic: sys_info: Refactor and fix a potential issue" (Andy Shevchenko)
   fixes a build issue and does some cleanup in ib/sys_info.c

 - "Implement mul_u64_u64_div_u64_roundup()" (David Laight)
   enhances the 64-bit math code on behalf of a PWM driver and beefs up
   the test module for these library functions

 - "scripts/gdb/symbols: make BPF debug info available to GDB" (Ilya Leoshkevich)
   makes BPF symbol names, sizes, and line numbers available to the GDB
   debugger

 - "Enable hung_task and lockup cases to dump system info on demand" (Feng Tang)
   adds a sysctl which can be used to cause additional info dumping when
   the hung-task and lockup detectors fire

 - "lib/base64: add generic encoder/decoder, migrate users" (Kuan-Wei Chiu)
   adds a general base64 encoder/decoder to lib/ and migrates several
   users away from their private implementations

 - "rbree: inline rb_first() and rb_last()" (Eric Dumazet)
   makes TCP a little faster

 - "liveupdate: Rework KHO for in-kernel users" (Pasha Tatashin)
   reworks the KEXEC Handover interfaces in preparation for Live Update
   Orchestrator (LUO), and possibly for other future clients

 - "kho: simplify state machine and enable dynamic updates" (Pasha Tatashin)
   increases the flexibility of KEXEC Handover. Also preparation for LUO

 - "Live Update Orchestrator" (Pasha Tatashin)
   is a major new feature targeted at cloud environments. Quoting the
   cover letter:

      This series introduces the Live Update Orchestrator, a kernel
      subsystem designed to facilitate live kernel updates using a
      kexec-based reboot. This capability is critical for cloud
      environments, allowing hypervisors to be updated with minimal
      downtime for running virtual machines. LUO achieves this by
      preserving the state of selected resources, such as memory,
      devices and their dependencies, across the kernel transition.

      As a key feature, this series includes support for preserving
      memfd file descriptors, which allows critical in-memory data, such
      as guest RAM or any other large memory region, to be maintained in
      RAM across the kexec reboot.

   Mike Rappaport merits a mention here, for his extensive review and
   testing work.

 - "kexec: reorganize kexec and kdump sysfs" (Sourabh Jain)
   moves the kexec and kdump sysfs entries from /sys/kernel/ to
   /sys/kernel/kexec/ and adds back-compatibility symlinks which can
   hopefully be removed one day

 - "kho: fixes for vmalloc restoration" (Mike Rapoport)
   fixes a BUG which was being hit during KHO restoration of vmalloc()
   regions

* tag 'mm-nonmm-stable-2025-12-06-11-14' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (139 commits)
  calibrate: update header inclusion
  Reinstate "resource: avoid unnecessary lookups in find_next_iomem_res()"
  vmcoreinfo: track and log recoverable hardware errors
  kho: fix restoring of contiguous ranges of order-0 pages
  kho: kho_restore_vmalloc: fix initialization of pages array
  MAINTAINERS: TPM DEVICE DRIVER: update the W-tag
  init: replace simple_strtoul with kstrtoul to improve lpj_setup
  KHO: fix boot failure due to kmemleak access to non-PRESENT pages
  Documentation/ABI: new kexec and kdump sysfs interface
  Documentation/ABI: mark old kexec sysfs deprecated
  kexec: move sysfs entries to /sys/kernel/kexec
  test_kho: always print restore status
  kho: free chunks using free_page() instead of kfree()
  selftests/liveupdate: add kexec test for multiple and empty sessions
  selftests/liveupdate: add simple kexec-based selftest for LUO
  selftests/liveupdate: add userspace API selftests
  docs: add documentation for memfd preservation via LUO
  mm: memfd_luo: allow preserving memfd
  liveupdate: luo_file: add private argument to store runtime state
  mm: shmem: export some functions to internal.h
  ...
2025-12-06 14:01:20 -08:00
..
af_unix Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
bench selftests: pp-bench: remove page_pool_put_page wrapper 2025-07-01 17:42:11 -07:00
can selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
forwarding Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-20 09:13:26 -08:00
hsr selftests: net: unify the Makefile formats 2025-10-06 13:14:06 -07:00
lib selftests: net: py: handle interrupt during cleanup 2025-12-01 12:01:29 -08:00
mptcp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-20 09:13:26 -08:00
netfilter Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
openvswitch Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-18 11:26:06 -07:00
ovpn selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
packetdrill selftests/net: packetdrill: pass send_omit_free to MSG_ZEROCOPY tests 2025-11-26 15:57:55 -08:00
rds selftests: net: unify the Makefile formats 2025-10-06 13:14:06 -07:00
tcp_ao selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
.gitignore selftest: af_unix: Create its own .gitignore. 2025-11-25 19:52:28 -08:00
Makefile selftests: net: relocate gro and toeplitz tests to drivers/net 2025-11-20 18:19:29 -08:00
altnames.sh
amt.sh selftests: net: amt: indicate progress in the stress test 2025-04-04 08:02:09 -07:00
arp_ndisc_evict_nocarrier.sh selftests: net: add a hint about MACAddressPolicy=persistent 2025-12-01 12:02:13 -08:00
arp_ndisc_untracked_subnets.sh
bareudp.sh selftests: net: use BASH for bareudp testing 2025-10-29 17:56:03 -07:00
big_tcp.sh
bind_bhash.c selftest: net: Fix weird setsockopt() in bind_bhash.c. 2025-09-04 07:30:04 -07:00
bind_bhash.sh
bind_timewait.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
bind_wildcard.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
bpf.mk
bpf_offload.py selftests: net: bpf_offload: print loaded programs on mismatch 2025-08-20 19:28:03 -07:00
broadcast_ether_dst.sh selftests: net: add test for destination in broadcast packets 2025-09-09 11:29:58 +02:00
broadcast_pmtu.sh selftests: net: add test for variable PMTU in broadcast routes 2025-07-14 17:29:41 -07:00
busy_poll_test.sh selftests: Add napi threaded busy poll test in `busy_poller` 2025-11-03 18:11:40 -08:00
busy_poller.c selftests: Add napi threaded busy poll test in `busy_poller` 2025-11-03 18:11:40 -08:00
cmsg_ip.sh selftests/net: expand cmsg_ip with MSG_MORE 2025-03-10 13:13:04 -07:00
cmsg_sender.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
cmsg_so_mark.sh
cmsg_so_priority.sh selftests: net: test SO_PRIORITY ancillary data with cmsg_sender 2024-12-16 18:14:12 -08:00
cmsg_time.sh selftests: net: give up on the cmsg_time accuracy on slow machines 2025-01-17 18:36:14 -08:00
config selftests: net: sort configs 2025-10-06 13:12:59 -07:00
drop_monitor_tests.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
epoll_busy_poll.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
fcnal-ipv4.sh selftests: net: run groups from fcnal-test in parallel 2025-09-09 15:34:11 -07:00
fcnal-ipv6.sh selftests: net: run groups from fcnal-test in parallel 2025-09-09 15:34:11 -07:00
fcnal-other.sh selftests: net: run groups from fcnal-test in parallel 2025-09-09 15:34:11 -07:00
fcnal-test.sh selftests: Replace sleep with slowwait 2025-09-11 17:57:21 -07:00
fdb_flush.sh selftests: net: Fix few spelling mistakes 2025-02-18 18:10:31 -08:00
fdb_notify.sh selftests: net: lib: Rename ip_link_set_master() to adf_* 2025-09-26 17:48:37 -07:00
fib-onlink-tests.sh
fib_nexthop_multiprefix.sh
fib_nexthop_nongw.sh
fib_nexthops.sh selftests: fib_nexthops: Add test cases for FDB status change 2025-09-23 17:01:05 -07:00
fib_rule_tests.sh selftests: net: remove redundant rp_filter configuration 2025-05-12 18:10:55 -07:00
fib_tests.sh selftests: fib_tests: add fib6 from ra to static test 2025-11-18 19:28:08 -08:00
fin_ack_lat.c
fin_ack_lat.sh
fq_band_pktlimit.sh
gre_gso.sh
gre_ipv6_lladdr.sh selftests: Add IPv6 multicast route generation tests for GRE devices. 2025-07-10 18:11:04 -07:00
hwtstamp_config.c
icmp.sh
icmp_redirect.sh selftests: net: remove redundant rp_filter configuration 2025-05-12 18:10:55 -07:00
in_netns.sh
io_uring_zerocopy_tx.c selftests/net: io_uring: fix unknown errnum values 2025-10-17 16:57:53 -07:00
io_uring_zerocopy_tx.sh
ioam6.sh selftests: net: add new ioam tests 2024-10-04 15:34:07 -07:00
ioam6_parser.c selftests: net: add new ioam tests 2024-10-04 15:34:07 -07:00
ip6_gre_headroom.sh
ip_defrag.c
ip_defrag.sh
ip_local_port_range.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
ip_local_port_range.sh selftests/net: ensure mptcp is enabled in netns 2025-02-25 18:13:28 -08:00
ipsec.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
ipv6_flowlabel.c
ipv6_flowlabel.sh
ipv6_flowlabel_mgr.c
ipv6_force_forwarding.sh ipv6: add `force_forwarding` sysctl to enable per-interface forwarding 2025-07-25 13:06:19 -07:00
ipv6_fragmentation.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
ipv6_route_update_soft_lockup.sh selftests: net: move wait_local_port_listen to lib.sh 2025-05-27 17:31:42 -07:00
l2_tos_ttl_inherit.sh
l2tp.sh
lib.sh selftests: net: lib: Do not overwrite error messages 2025-11-17 19:32:12 -08:00
link_netns.py selftests: net: Add test cases for link and peer netns 2025-02-21 15:28:03 -08:00
lwt_dst_cache_ref_loop.sh selftests: net: test for lwtunnel dst ref loops 2025-03-20 11:25:52 +01:00
msg_zerocopy.c selftest: net: extend msg_zerocopy test with forwarding 2025-07-02 15:07:16 -07:00
msg_zerocopy.sh selftest: net: extend msg_zerocopy test with forwarding 2025-07-02 15:07:16 -07:00
nat6to4.bpf.c
nat6to4.sh selftests: net: add test case for NAT46 looping back dst 2025-06-11 17:02:29 -07:00
ndisc_unsolicited_na_test.sh
netdev-l2addr.sh selftests: net: add netdev-l2addr.sh for testing L2 address functionality 2025-07-11 17:00:18 -07:00
netdevice.sh selftests: net: Use XFAIL for operations not supported by the driver 2024-08-22 16:56:06 -07:00
netlink-dumps.c Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
netns-name.sh selftests: net: use netdevsim in netns test 2025-04-03 15:32:09 -07:00
netns-sysctl.sh
nettest.c selftests: nettest: Fix typo in log and error messages for clarity 2025-06-17 16:22:59 -07:00
nl_netdev.py net: define an enum for the napi threaded state 2025-07-24 18:34:55 -07:00
pmtu.sh selftests: net: speed up pmtu.sh by avoiding unnecessary cleanup 2025-09-09 16:26:44 -07:00
proc_net_pktgen.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
psock_fanout.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
psock_lib.h selftests: centralise maybe-unused definition in kselftest.h 2025-09-13 16:55:16 -07:00
psock_snd.c
psock_snd.sh
psock_tpacket.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
reuseaddr_conflict.c
reuseaddr_ports_exhausted.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
reuseaddr_ports_exhausted.sh
reuseport_addr_any.c selftest: net: Remove DCCP bits. 2025-04-11 18:58:10 -07:00
reuseport_addr_any.sh
reuseport_bpf.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
reuseport_bpf_cpu.c
reuseport_bpf_numa.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
reuseport_dualstack.c
route_hint.sh selftests: net: add test for dst hint mechanism with directed broadcast addresses 2025-08-25 16:07:16 -07:00
route_localnet.sh
rps_default_mask.sh selftests: net: fix spelling and grammar mistakes 2025-09-01 13:08:07 -07:00
rtnetlink.py netlink: specs: rt_addr: pull the ifa- prefix out of the names 2025-04-04 07:36:06 -07:00
rtnetlink.sh ipv6: clean up routes when manually removing address with a lifetime 2025-11-14 17:44:47 -08:00
rtnetlink_notification.sh selftest: add selftest for anycast notifications 2025-06-22 17:32:04 +01:00
run_afpackettests
run_netsocktests
rxtimestamp.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
rxtimestamp.sh
sample_map_ret0.bpf.c
sample_ret0.bpf.c
sctp_hello.c selftests: net: fix server bind failure in sctp_vrf.sh 2025-10-20 16:41:33 -07:00
sctp_vrf.sh selftests: net: fix server bind failure in sctp_vrf.sh 2025-10-20 16:41:33 -07:00
settings
sk_bind_sendto_listen.c
sk_connect_zero_addr.c
sk_so_peek_off.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
skf_net_off.c selftests/net: test sk_filter support for SKF_NET_OFF on frags 2025-04-09 20:02:51 -07:00
skf_net_off.sh selftests/net: test sk_filter support for SKF_NET_OFF on frags 2025-04-09 20:02:51 -07:00
so_incoming_cpu.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
so_netns_cookie.c
so_rcv_listener.c selftests: net: add support for testing SO_RCVMARK and SO_RCVPRIORITY 2025-02-17 16:45:19 -08:00
so_txtime.c selftests/net: initialize char variable to null 2025-11-26 15:23:27 -08:00
so_txtime.sh
socket.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
srv6_end_dt4_l3vpn_test.sh selftests: net: use setup_ns for SRv6 tests and remove rp_filter configuration 2025-05-12 18:10:55 -07:00
srv6_end_dt6_l3vpn_test.sh
srv6_end_dt46_l3vpn_test.sh selftests: net: use setup_ns for SRv6 tests and remove rp_filter configuration 2025-05-12 18:10:55 -07:00
srv6_end_dx4_netfilter_test.sh
srv6_end_dx6_netfilter_test.sh
srv6_end_flavors_test.sh selftests: net: Fix spellings 2025-05-20 18:14:08 -07:00
srv6_end_next_csid_l3vpn_test.sh selftests: seg6: fix instaces typo in comments 2025-07-01 19:32:45 -07:00
srv6_end_x_next_csid_l3vpn_test.sh selftests: seg6: fix instaces typo in comments 2025-07-01 19:32:45 -07:00
srv6_hencap_red_l3vpn_test.sh selftests: seg6: fix instaces typo in comments 2025-07-01 19:32:45 -07:00
srv6_hl2encap_red_l2vpn_test.sh selftests: seg6: fix instaces typo in comments 2025-07-01 19:32:45 -07:00
stress_reuseport_listen.c
stress_reuseport_listen.sh
tap.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
tcp_fastopen_backup_key.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
tcp_fastopen_backup_key.sh
tcp_inq.c
tcp_mmap.c
tcp_port_share.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
test_bpf.sh
test_bridge_backup_port.sh selftests: net: Test bridge backup port when port is administratively down 2025-08-14 17:45:36 -07:00
test_bridge_neigh_suppress.sh selftests: test_bridge_neigh_suppress: Test unicast ARP/NS with suppression 2025-04-09 19:13:43 -07:00
test_ingress_egress_chaining.sh
test_neigh.sh selftests: net: Fix flaky neighbor garbage collection test 2025-08-01 13:51:41 -07:00
test_so_rcv.sh selftests: net: add support for testing SO_RCVMARK and SO_RCVPRIORITY 2025-02-17 16:45:19 -08:00
test_vxlan_fdb_changelink.sh selftests: net: lib: Rename ip_link_set_up() to adf_* 2025-09-26 17:48:37 -07:00
test_vxlan_mdb.sh
test_vxlan_nh.sh selftests: net: Add a selftest for VXLAN with FDB nexthop groups 2025-09-02 16:57:00 -07:00
test_vxlan_nolocalbypass.sh
test_vxlan_under_vrf.sh
test_vxlan_vnifiltering.sh selftests: net: use slowwait to make sure IPv6 setup finished 2025-06-19 15:24:09 +02:00
tfo.c selftests: net: add passive TFO test binary 2025-06-18 18:30:51 -07:00
tfo_passive.sh selftest: net: Fix error message if empty variable 2025-09-26 15:23:33 -07:00
timestamping.c
tls.c Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
traceroute.sh selftests: traceroute: Add ICMP extensions tests 2025-10-29 18:28:30 -07:00
tun.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
txring_overwrite.c
txtimestamp.c selftests/net: initialize char variable to null 2025-11-26 15:23:27 -08:00
txtimestamp.sh selftests: txtimestamp: add SCM_TS_OPT_ID test 2024-10-04 11:52:20 -07:00
udpgro.sh selftests: net: increase inter-packet timeout in udpgro.sh 2025-07-15 15:26:47 +02:00
udpgro_bench.sh selftests: net: move wait_local_port_listen to lib.sh 2025-05-27 17:31:42 -07:00
udpgro_frglist.sh selftests: net: move wait_local_port_listen to lib.sh 2025-05-27 17:31:42 -07:00
udpgro_fwd.sh selftests: net: move wait_local_port_listen to lib.sh 2025-05-27 17:31:42 -07:00
udpgso.c udp: gso: do not drop small packets when PMTU reduces 2025-02-03 10:13:27 +00:00
udpgso.sh
udpgso_bench.sh selftests/net: call sendmmsg via udpgso_bench.sh 2024-12-04 19:22:20 -08:00
udpgso_bench_rx.c
udpgso_bench_tx.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
unicast_extensions.sh selftests: net: add helper for checking if nettest is available 2024-08-22 12:55:47 +02:00
veth.sh selftests: net: use the dummy bpf from net/lib 2025-03-31 16:44:25 -07:00
vlan_bridge_binding.sh selftests: net: check jq command is supported 2025-10-14 15:12:18 +02:00
vlan_hw_filter.sh selftests: avoid using ifconfig 2025-08-01 14:40:19 -07:00
vrf-xfrm-tests.sh
vrf_route_leaking.sh selftests: net: use slowwait to stabilize vrf_route_leaking test 2025-06-19 15:24:08 +02:00
vrf_strict_mode_test.sh
xfrm_policy.sh
xfrm_policy_add_speed.sh selftests: add xfrm policy insertion speed test script 2024-08-24 09:55:01 +02:00
ynl.mk selftests: net: move netlink-dumps back to progs 2025-09-08 12:57:05 -07:00