[GIT PULL] Networking for 6.4-rc8
From: Paolo Abeni
Date: Thu Jun 22 2023 - 11:18:29 EST
Hi Linus!
This contains a last minute, slightly bigger than usual, series from
the netfilter subtree: it's mainly to address the recent issue you
have been CC-ed. I guess we want such fix included in 6.4.
There are no known issues pending.
The following changes since commit 40f71e7cd3c6ac04293556ab0504a372393838ff:
Merge tag 'net-6.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2023-06-15 21:11:17 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git tags/net-6.4-rc8
for you to fetch changes up to 2ba7e7ebb6a71407cbe25cd349c9b05d40520bf0:
Merge tag 'nf-23-06-21' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf (2023-06-22 14:39:06 +0200)
----------------------------------------------------------------
Networking fixes for 6.4-rc8, including fixes from ipsec, bpf,
mptcp and netfilter.
Current release - regressions:
- netfilter: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain
- eth: mlx5e:
- fix scheduling of IPsec ASO query while in atomic
- free IRQ rmap and notifier on kernel shutdown
Current release - new code bugs:
- phy: manual remove LEDs to ensure correct ordering
Previous releases - regressions:
- mptcp: fix possible divide by zero in recvmsg()
- dsa: revert "net: phy: dp83867: perform soft reset and retain established link"
Previous releases - always broken:
- sched: netem: acquire qdisc lock in netem_change()
- bpf:
- fix verifier id tracking of scalars on spill
- fix NULL dereference on exceptions
- accept function names that contain dots
- netfilter: disallow element updates of bound anonymous sets
- mptcp: ensure listener is unhashed before updating the sk status
- xfrm:
- add missed call to delete offloaded policies
- fix inbound ipv4/udp/esp packets to UDPv6 dualstack sockets
- selftests: fixes for FIPS mode
- dsa: mt7530: fix multiple CPU ports, BPDU and LLDP handling
- eth: sfc: use budget for TX completions
Misc:
- wifi: iwlwifi: add support for SO-F device with PCI id 0x7AF0
Signed-off-by: Paolo Abeni <pabeni@xxxxxxxxxx>
----------------------------------------------------------------
Alexei Starovoitov (1):
Merge branch 'bpf: fix NULL dereference during extable search'
Andrew Lunn (1):
net: phy: Manual remove LEDs to ensure correct ordering
Arınç ÜNAL (5):
net: dsa: mt7530: set all CPU ports in MT7531_CPU_PMAP
net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switch
net: dsa: mt7530: fix handling of BPDUs on MT7530 switch
net: dsa: mt7530: fix handling of LLDP frames
MAINTAINERS: add me as maintainer of MEDIATEK SWITCH DRIVER
Azeem Shaikh (1):
ieee802154: Replace strlcpy with strscpy
Benedict Wong (2):
xfrm: Treat already-verified secpath entries as optional
xfrm: Ensure policies always checked on XFRM-I input path
Benjamin Berg (1):
wifi: mac80211: report all unusable beacon frames
Chen Aotian (1):
ieee802154: hwsim: Fix possible memory leaks
Chris Mi (2):
net/mlx5e: TC, Add null pointer check for hardware miss support
net/mlx5e: TC, Cleanup ct resources for nic flow
Danielle Ratson (1):
selftests: forwarding: Fix race condition in mirror installation
David S. Miller (4):
Merge tag 'mlx5-fixes-2023-06-16' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux
Merge tag 'ieee802154-for-net-2023-06-19' of git://git.kernel.org/pub/scm/linux/kernel/git/wpan/wpan
Merge branch 'dsa-mt7530-fixes'
Merge tag 'ipsec-2023-06-20' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec
Eli Cohen (1):
net/mlx5: Fix driver load with single msix vector
Eric Dumazet (1):
sch_netem: acquire qdisc lock in netem_change()
Florent Revest (1):
bpf/btf: Accept function names that contain dots
Francesco Dolcini (1):
Revert "net: phy: dp83867: perform soft reset and retain established link"
Herbert Xu (1):
xfrm: Use xfrm_state selector for BEET input
Jakub Kicinski (3):
Merge branch 'check-if-fips-mode-is-enabled-when-running-selftests'
Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Merge branch 'mptcp-fixes-for-6-4'
Jiawen Wu (1):
net: mdio: fix the wrong parameters
Jiri Olsa (1):
bpf: Force kprobe multi expected_attach_type for kprobe_multi link
Josua Mayer (1):
net: dpaa2-mac: add 25gbase-r support
Juerg Haefliger (2):
ieee802154/adf7242: Add MODULE_FIRMWARE macro
nfc: fdp: Add MODULE_FIRMWARE macros
Kees Cook (1):
net: wwan: iosm: Convert single instance struct member to flexible array
Krister Johansen (2):
bpf: ensure main program has an extable
selftests/bpf: add a test for subprogram extables
Leon Romanovsky (4):
xfrm: add missed call to delete offloaded policies
net/mlx5e: Don't delay release of hardware objects
net/mlx5e: Drop XFRM state lock when modifying flow steering
net/mlx5e: Fix scheduling of IPsec ASO query while in atomic
Maciej Żenczykowski (2):
xfrm: fix inbound ipv4/udp/esp packets to UDPv6 dualstack sockets
revert "net: align SO_RCVMARK required privileges with SO_MARK"
Magali Lemes (4):
selftests/harness: allow tests to be skipped during setup
selftests: net: tls: check if FIPS mode is enabled
selftests: net: vrf-xfrm-tests: change authentication and encryption algos
selftests: net: fcnal-test: check if FIPS mode is enabled
Maxim Mikityanskiy (4):
bpf: Fix verifier id tracking of scalars on spill
selftests/bpf: Add test cases to assert proper ID tracking on spill
net/mlx5e: XDP, Allow growing tail for XDP multi buffer
net/mlx5e: xsk: Set napi_id to support busy polling on XSK RQ
Miquel Raynal (2):
MAINTAINERS: Update wpan tree
MAINTAINERS: Add wpan patchwork
Mukesh Sisodiya (1):
wifi: iwlwifi: pcie: Handle SO-F device for PCI id 0x7AF0
Pablo Neira Ayuso (12):
netfilter: nf_tables: fix chain binding transaction logic
netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain
netfilter: nf_tables: drop map element references from preparation phase
netfilter: nft_set_pipapo: .walk does not deal with generations
netfilter: nf_tables: fix underflow in object reference counter
netfilter: nf_tables: disallow element updates of bound anonymous sets
netfilter: nf_tables: reject unbound anonymous set before commit phase
netfilter: nf_tables: reject unbound chain set before commit phase
netfilter: nf_tables: disallow updates of anonymous sets
netfilter: nf_tables: disallow timeout for anonymous sets
netfilter: nf_tables: drop module reference after updating chain
netfilter: nfnetlink_osf: fix module autoload
Paolo Abeni (7):
mptcp: handle correctly disconnect() failures
mptcp: fix possible divide by zero in recvmsg()
mptcp: fix possible list corruption on passive MPJ
mptcp: consolidate fallback and non fallback state machine
mptcp: drop legacy code around RX EOF
mptcp: ensure listener is unhashed before updating the sk status
Merge tag 'nf-23-06-21' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf
Patrisious Haddad (1):
net/mlx5e: Fix ESN update kernel panic
Phil Sutter (1):
netfilter: nf_tables: Fix for deleting base chains with payload
Ross Lagerwall (1):
be2net: Extend xmit workaround to BE3 chip
Saeed Mahameed (1):
net/mlx5: Free IRQ rmap and notifier on kernel shutdown
Sebastian Andrzej Siewior (1):
xfrm: Linearize the skb after offloading if needed.
Stefan Wahren (1):
net: qca_spi: Avoid high load if QCA7000 is not available
Terin Stock (1):
ipvs: align inner_mac_header for encapsulation
Vladimir Oltean (1):
net: dsa: introduce preferred_default_local_cpu_port and use on MT7530
Yevgeny Kliteynik (2):
net/mlx5: DR, Support SW created encap actions for FW table
net/mlx5: DR, Fix wrong action data allocation in decap action
Yonghong Song (1):
bpf: Fix a bpf_jit_dump issue for x86_64 with sysctl bpf_jit_enable.
Íñigo Huguet (1):
sfc: use budget for TX completions
MAINTAINERS | 10 +-
arch/x86/net/bpf_jit_comp.c | 2 +-
drivers/net/dsa/mt7530.c | 48 ++-
drivers/net/dsa/mt7530.h | 6 +
drivers/net/ethernet/emulex/benet/be_main.c | 4 +-
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c | 7 +-
.../net/ethernet/mellanox/mlx5/core/en/params.c | 8 +-
.../net/ethernet/mellanox/mlx5/core/en/params.h | 1 +
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c | 2 +
.../net/ethernet/mellanox/mlx5/core/en/xsk/setup.c | 2 +-
.../ethernet/mellanox/mlx5/core/en_accel/ipsec.c | 22 +-
.../mellanox/mlx5/core/en_accel/ipsec_offload.c | 17 +-
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 +-
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 1 +
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c | 50 ++-
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h | 7 +
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c | 33 +-
.../mellanox/mlx5/core/steering/dr_action.c | 13 +-
.../ethernet/mellanox/mlx5/core/steering/fs_dr.c | 27 +-
.../ethernet/mellanox/mlx5/core/steering/fs_dr.h | 7 +
.../ethernet/mellanox/mlx5/core/steering/mlx5dr.h | 2 +
drivers/net/ethernet/qualcomm/qca_spi.c | 3 +-
drivers/net/ethernet/sfc/ef10.c | 25 +-
drivers/net/ethernet/sfc/ef100_nic.c | 7 +-
drivers/net/ethernet/sfc/ef100_tx.c | 4 +-
drivers/net/ethernet/sfc/ef100_tx.h | 2 +-
drivers/net/ethernet/sfc/tx_common.c | 4 +-
drivers/net/ethernet/sfc/tx_common.h | 2 +-
drivers/net/ieee802154/adf7242.c | 2 +
drivers/net/ieee802154/mac802154_hwsim.c | 6 +-
drivers/net/phy/dp83867.c | 2 +-
drivers/net/phy/mdio_bus.c | 2 +-
drivers/net/phy/phy_device.c | 15 +-
drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 2 +
drivers/net/wwan/iosm/iosm_ipc_mux_codec.c | 15 +-
drivers/net/wwan/iosm/iosm_ipc_mux_codec.h | 2 +-
drivers/nfc/fdp/fdp.c | 3 +
include/net/dsa.h | 8 +
include/net/netfilter/nf_tables.h | 31 +-
include/net/xfrm.h | 1 +
kernel/bpf/btf.c | 20 +-
kernel/bpf/syscall.c | 5 +
kernel/bpf/verifier.c | 10 +-
net/core/sock.c | 6 -
net/dsa/dsa.c | 24 +-
net/ieee802154/trace.h | 2 +-
net/ipv4/esp4_offload.c | 3 +
net/ipv4/xfrm4_input.c | 1 +
net/ipv6/esp6_offload.c | 3 +
net/ipv6/xfrm6_input.c | 3 +
net/mac80211/rx.c | 2 +-
net/mac802154/trace.h | 2 +-
net/mptcp/pm_netlink.c | 1 +
net/mptcp/protocol.c | 160 ++++-----
net/mptcp/protocol.h | 5 +-
net/mptcp/subflow.c | 17 +-
net/netfilter/ipvs/ip_vs_xmit.c | 2 +
net/netfilter/nf_tables_api.c | 366 +++++++++++++++++----
net/netfilter/nfnetlink_osf.c | 1 +
net/netfilter/nft_immediate.c | 90 ++++-
net/netfilter/nft_set_bitmap.c | 5 +-
net/netfilter/nft_set_hash.c | 23 +-
net/netfilter/nft_set_pipapo.c | 20 +-
net/netfilter/nft_set_rbtree.c | 5 +-
net/netfilter/xt_osf.c | 1 -
net/sched/sch_netem.c | 8 +-
net/xfrm/xfrm_input.c | 8 +-
net/xfrm/xfrm_interface_core.c | 54 ++-
net/xfrm/xfrm_policy.c | 14 +
.../selftests/bpf/prog_tests/subprogs_extable.c | 29 ++
.../selftests/bpf/progs/test_subprogs_extable.c | 51 +++
.../selftests/bpf/progs/verifier_spill_fill.c | 79 +++++
tools/testing/selftests/kselftest_harness.h | 6 +-
tools/testing/selftests/net/fcnal-test.sh | 27 +-
.../net/forwarding/mirror_gre_bridge_1d.sh | 4 +
.../net/forwarding/mirror_gre_bridge_1q.sh | 4 +
tools/testing/selftests/net/tls.c | 24 +-
tools/testing/selftests/net/vrf-xfrm-tests.sh | 32 +-
78 files changed, 1178 insertions(+), 351 deletions(-)
create mode 100644 tools/testing/selftests/bpf/prog_tests/subprogs_extable.c
create mode 100644 tools/testing/selftests/bpf/progs/test_subprogs_extable.c