[GIT PULL] Networking for v6.10-rc8

From: Paolo Abeni
Date: Thu Jul 11 2024 - 09:42:14 EST


Hi Linus!

I believe the fix for the 6.9 regression mentioned by Jakub in
the previous net PR already landed in your tree as leds revert.

I'm not aware of any other new pending regressions.

The following changes since commit 033771c085c2ed73cb29dd25e1ec8c4b2991cad9:

Merge tag 'net-6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2024-07-04 10:11:12 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git tags/net-6.10-rc8

for you to fetch changes up to d7c199e77ef2fe259ad5b1beca5ddd6c951fcba2:

Merge tag 'nf-24-07-11' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf (2024-07-11 12:57:10 +0200)

----------------------------------------------------------------
Including fixes from bpf and netfilter.

Current release - regressions:

- core: fix rc7's __skb_datagram_iter() regression

Current release - new code bugs:

- eth: bnxt: fix crashes when reducing ring count with active RSS contexts

Previous releases - regressions:

- sched: fix UAF when resolving a clash

- skmsg: skip zero length skb in sk_msg_recvmsg2

- sunrpc: fix kernel free on connection failure in xs_tcp_setup_socket

- tcp: avoid too many retransmit packets

- tcp: fix incorrect undo caused by DSACK of TLP retransmit

- udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port().

- eth: ks8851: fix deadlock with the SPI chip variant

- eth: i40e: fix XDP program unloading while removing the driver

Previous releases - always broken:

- bpf:
- fix too early release of tcx_entry
- fail bpf_timer_cancel when callback is being cancelled
- bpf: fix order of args in call to bpf_map_kvcalloc

- netfilter: nf_tables: prefer nft_chain_validate

- ppp: reject claimed-as-LCP but actually malformed packets

- wireguard: avoid unaligned 64-bit memory accesses

Signed-off-by: Paolo Abeni <pabeni@xxxxxxxxxx>

----------------------------------------------------------------
Aleksander Jan Bajkowski (1):
net: ethernet: lantiq_etop: fix double free in detach

Aleksandr Mishin (1):
octeontx2-af: Fix incorrect value output on error path in rvu_check_rsrc_availability()

Alexei Starovoitov (1):
Merge branch 'fixes-for-bpf-timer-lockup-and-uaf'

Chengen Du (1):
net/sched: Fix UAF when resolving a clash

Chris Packham (1):
docs: networking: devlink: capitalise length value

Christian Eggers (1):
dsa: lan9303: Fix mapping between DSA port number and PHY address

Dan Carpenter (1):
net: bcmasp: Fix error code in probe()

Daniel Borkmann (3):
bpf: Fix too early release of tcx_entry
selftests/bpf: Extend tcx tests to cover late tcx_entry release
net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket

Dmitry Antipov (1):
ppp: reject claimed-as-LCP but actually malformed packets

Eric Dumazet (1):
tcp: avoid too many retransmit packets

Florian Westphal (2):
netfilter: nfnetlink_queue: drop bogus WARN_ON
netfilter: nf_tables: prefer nft_chain_validate

Geliang Tang (1):
skmsg: Skip zero length skb in sk_msg_recvmsg

Helge Deller (1):
wireguard: allowedips: avoid unaligned 64-bit memory accesses

Hugh Dickins (1):
net: fix rc7's __skb_datagram_iter()

Jakub Kicinski (2):
Merge branch 'wireguard-fixes-for-6-10-rc7'
bnxt: fix crashes when reducing ring count with active RSS contexts

Jason A. Donenfeld (3):
wireguard: selftests: use acpi=off instead of -no-acpi for recent QEMU
wireguard: queueing: annotate intentional data race in cpu round robin
wireguard: send: annotate intentional data race in checking empty queue

Jian Hui Lee (1):
net: ethernet: mtk-star-emac: set mac_managed_pm when probing

Kumar Kartikeya Dwivedi (3):
bpf: Fail bpf_timer_cancel when callback is being cancelled
bpf: Defer work in bpf_timer_cancel_and_free
selftests/bpf: Add timer lockup selftest

Kuniyuki Iwashima (1):
udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port().

Michal Kubiak (1):
i40e: Fix XDP program unloading while removing the driver

Mohammad Shehar Yaar Tausif (1):
bpf: fix order of args in call to bpf_map_kvcalloc

Neal Cardwell (1):
tcp: fix incorrect undo caused by DSACK of TLP retransmit

Oleksij Rempel (2):
net: phy: microchip: lan87xx: reinit PHY after cable test
ethtool: netlink: do not return SQI value if link is down

Paolo Abeni (3):
Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Merge tag 'nf-24-07-11' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf

Ronald Wahl (2):
net: ks8851: Fix deadlock with the SPI chip variant
net: ks8851: Fix potential TX stall after interface reopen

Vitaly Lifshits (1):
e1000e: fix force smbus during suspend flow

.../networking/devlink/devlink-region.rst | 2 +-
drivers/net/dsa/lan9303-core.c | 23 ++-
drivers/net/ethernet/broadcom/asp2/bcmasp.c | 1 +
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 15 ++
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 +
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 6 +
drivers/net/ethernet/intel/e1000e/ich8lan.c | 73 +++++++---
drivers/net/ethernet/intel/i40e/i40e_main.c | 9 +-
drivers/net/ethernet/lantiq_etop.c | 4 +-
drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 2 +-
drivers/net/ethernet/mediatek/mtk_star_emac.c | 7 +
drivers/net/ethernet/micrel/ks8851_common.c | 10 +-
drivers/net/ethernet/micrel/ks8851_spi.c | 4 +-
drivers/net/phy/microchip_t1.c | 2 +-
drivers/net/ppp/ppp_generic.c | 15 ++
drivers/net/wireguard/allowedips.c | 4 +-
drivers/net/wireguard/queueing.h | 4 +-
drivers/net/wireguard/send.c | 2 +-
include/net/tcx.h | 13 +-
kernel/bpf/bpf_local_storage.c | 4 +-
kernel/bpf/helpers.c | 99 ++++++++++---
net/core/datagram.c | 3 +-
net/core/skmsg.c | 3 +-
net/ethtool/linkstate.c | 41 ++++--
net/ipv4/tcp_input.c | 11 +-
net/ipv4/tcp_timer.c | 17 ++-
net/ipv4/udp.c | 4 +-
net/netfilter/nf_tables_api.c | 158 ++-------------------
net/netfilter/nfnetlink_queue.c | 2 +-
net/sched/act_ct.c | 8 ++
net/sched/sch_ingress.c | 12 +-
net/sunrpc/xprtsock.c | 7 +
tools/testing/selftests/bpf/config | 3 +
tools/testing/selftests/bpf/prog_tests/tc_links.c | 61 ++++++++
.../selftests/bpf/prog_tests/timer_lockup.c | 91 ++++++++++++
tools/testing/selftests/bpf/progs/timer_lockup.c | 87 ++++++++++++
tools/testing/selftests/wireguard/qemu/Makefile | 8 +-
37 files changed, 561 insertions(+), 255 deletions(-)
create mode 100644 tools/testing/selftests/bpf/prog_tests/timer_lockup.c
create mode 100644 tools/testing/selftests/bpf/progs/timer_lockup.c