[GIT PULL] Networking for 6.6-rc2

From: Paolo Abeni
Date: Thu Sep 14 2023 - 09:19:10 EST


Hi Linus!

Quite unusually, this does not contains any fix coming from subtrees
(nf, ebpf, wifi, etc).

The following changes since commit 73be7fb14e83d24383f840a22f24d3ed222ca319:

Merge tag 'net-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2023-09-07 18:33:07 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git tags/net-6.6-rc2

for you to fetch changes up to a22730b1b4bf437c6bbfdeff5feddf54be4aeada:

kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg(). (2023-09-14 10:43:51 +0200)

----------------------------------------------------------------
Networking fixes for 6.6-rc2.

Current release - regressions:

- bcmasp: fix possible OOB write in bcmasp_netfilt_get_all_active()

Previous releases - regressions:

- ipv4: fix one memleak in __inet_del_ifa()

- tcp: fix bind() regressions for v4-mapped-v6 addresses.

- tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()

- dsa: fixes for SJA1105 FDB regressions

- veth: update XDP feature set when bringing up device

- igb: fix hangup when enabling SR-IOV

Previous releases - always broken:

- kcm: fix memory leak in error path of kcm_sendmsg()

- smc: fix data corruption in smcr_port_add

- microchip: fix possible memory leak for vcap_dup_rule()

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

----------------------------------------------------------------
Ciprian Regus (1):
net:ethernet:adi:adin1110: Fix forwarding offload

Corinna Vinschen (1):
igb: clean up in all error paths when enabling SR-IOV

Daniel Golle (1):
net: ethernet: mtk_eth_soc: fix uninitialized variable

David S. Miller (4):
Merge branch 'smc-r-fixes'
Merge branch 'rule_buf-OOB'
Merge branch 'sha1105-regressions'
Merge branch 'tcp-bind-fixes'

Eric Dumazet (1):
ipv6: fix ip6_sock_set_addr_preferences() typo

Guangguan Wang (2):
net/smc: bugfix for smcr v2 server connect success statistic
net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add

Hangyu Hua (3):
net: ethernet: bcmasp: fix possible OOB write in bcmasp_netfilt_get_all_active()
net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()

Hayes Wang (1):
r8152: check budget for r8152_poll()

Jinjie Ruan (1):
net: microchip: vcap api: Fix possible memory leak for vcap_dup_rule()

Julia Lawall (1):
net: bcmasp: add missing of_node_put

Juntong Deng (1):
selftests/net: Improve bind_bhash.sh to accommodate predictable network interface names

Kuniyuki Iwashima (7):
tcp: Factorise sk_family-independent comparison in inet_bind2_bucket_match(_addr_any).
tcp: Fix bind() regression for v4-mapped-v6 wildcard address.
tcp: Fix bind() regression for v4-mapped-v6 non-wildcard address.
selftest: tcp: Fix address length in bind_wildcard.c.
selftest: tcp: Move expected_errno into each test case in bind_wildcard.c.
selftest: tcp: Add v4-mapped-v6 cases in bind_wildcard.c.
kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().

Liu Jian (2):
net: ipv4: fix one memleak in __inet_del_ifa()
net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()

Lorenzo Bianconi (1):
net: ethernet: mtk_eth_soc: fix pse_port configuration for MT7988

Paolo Abeni (1):
Merge branch 'net-renesas-rswitch-fix-a-lot-of-redundant-irq-issue'

Ratheesh Kannoth (1):
octeontx2-pf: Fix page pool cache index corruption.

Sascha Hauer (1):
net: macb: fix sleep inside spinlock

Shigeru Yoshida (1):
kcm: Fix memory leak in error path of kcm_sendmsg()

Toke Høiland-Jørgensen (1):
veth: Update XDP feature set when bringing up device

Vadim Fedorenko (1):
ixgbe: fix timestamp configuration code

Vincent Whitchurch (1):
net: stmmac: fix handling of zero coalescing tx-usecs

Vladimir Oltean (5):
net: dsa: sja1105: hide all multicast addresses from "bridge fdb show"
net: dsa: sja1105: propagate exact error code from sja1105_dynamic_config_poll_valid()
net: dsa: sja1105: fix multicast forwarding working only for last added mdb entry
net: dsa: sja1105: serialize sja1105_port_mcast_flood() with other FDB accesses
net: dsa: sja1105: block FDB accesses that are concurrent with a switch reset

Yoshihiro Shimoda (2):
net: renesas: rswitch: Fix unmasking irq condition
net: renesas: rswitch: Add spin lock protection for irq {un}mask

Ziyang Xuan (1):
hsr: Fix uninit-value access in fill_frame_info()

drivers/net/dsa/sja1105/sja1105.h | 2 +
drivers/net/dsa/sja1105/sja1105_dynamic_config.c | 93 ++++++++++------------
drivers/net/dsa/sja1105/sja1105_main.c | 69 +++++++++++-----
drivers/net/ethernet/adi/adin1110.c | 2 +-
drivers/net/ethernet/broadcom/asp2/bcmasp.c | 10 ++-
drivers/net/ethernet/broadcom/asp2/bcmasp.h | 4 +-
.../net/ethernet/broadcom/asp2/bcmasp_ethtool.c | 2 +-
drivers/net/ethernet/cadence/macb_main.c | 5 +-
drivers/net/ethernet/intel/igb/igb_main.c | 5 +-
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 28 ++++---
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 5 ++
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c | 6 +-
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h | 2 +-
.../ethernet/marvell/octeontx2/nic/otx2_common.c | 43 ++--------
.../ethernet/marvell/octeontx2/nic/otx2_common.h | 3 +-
.../net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 7 +-
.../net/ethernet/marvell/octeontx2/nic/otx2_txrx.c | 30 +++++--
.../net/ethernet/marvell/octeontx2/nic/otx2_txrx.h | 4 +-
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 8 +-
drivers/net/ethernet/mediatek/mtk_ppe_offload.c | 6 +-
drivers/net/ethernet/microchip/vcap/vcap_api.c | 18 ++++-
drivers/net/ethernet/renesas/rswitch.c | 20 ++++-
drivers/net/ethernet/renesas/rswitch.h | 2 +
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 10 ++-
drivers/net/usb/r8152.c | 3 +
drivers/net/veth.c | 2 +
include/net/ipv6.h | 7 +-
net/hsr/hsr_forward.c | 1 +
net/ipv4/devinet.c | 10 +--
net/ipv4/inet_hashtables.c | 36 +++++----
net/kcm/kcmsock.c | 13 +--
net/smc/smc_core.c | 2 +
net/smc/smc_stats.h | 3 +-
net/tls/tls_sw.c | 4 +-
tools/testing/selftests/net/bind_bhash.sh | 26 +++---
tools/testing/selftests/net/bind_wildcard.c | 68 +++++++++++++---
36 files changed, 352 insertions(+), 207 deletions(-)