[GIT PULL] Networking for 5.19-rc5

From: Jakub Kicinski
Date: Thu Jun 30 2022 - 15:31:34 EST


Hi Linus!

The following changes since commit 399bd66e219e331976fe6fa6ab81a023c0c97870:

Merge tag 'net-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2022-06-23 09:01:01 -0500)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git tags/net-5.19-rc5

for you to fetch changes up to 58bf4db695287c4bb2a5fc9fc12c78fdd4c36894:

net: dsa: felix: fix race between reading PSFP stats and port stats (2022-06-30 11:37:09 -0700)

----------------------------------------------------------------
Including fixes from netfilter.

Current release - new code bugs:

- clear msg_get_inq in __sys_recvfrom() and __copy_msghdr_from_user()

- mptcp:
- invoke MP_FAIL response only when needed
- fix shutdown vs fallback race
- consistent map handling on failure

- octeon_ep: use bitwise AND

Previous releases - regressions:

- tipc: move bc link creation back to tipc_node_create, fix NPD

Previous releases - always broken:

- tcp: add a missing nf_reset_ct() in 3WHS handling, prevent socket
buffered skbs from keeping refcount on the conntrack module

- ipv6: take care of disable_policy when restoring routes

- tun: make sure to always disable and unlink NAPI instances

- phy: don't trigger state machine while in suspend

- netfilter: nf_tables: avoid skb access on nf_stolen

- asix: fix "can't send until first packet is send" issue

- usb: asix: do not force pause frames support

- nxp-nci: don't issue a zero length i2c_master_read()

Misc:

- ncsi: allow use of proper "mellanox" DT vendor prefix

- act_api: add a message for user space if any actions were already
flushed before the error was hit

Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>

----------------------------------------------------------------
Casper Andersson (1):
net: sparx5: mdb add/del handle non-sparx5 devices

Coleman Dietsch (1):
selftests net: fix kselftest net fatal error

Dan Carpenter (1):
net: fix IFF_TX_SKB_NO_LINEAR definition

Dimitris Michailidis (1):
selftests/net: pass ipv6_args to udpgso_bench's IPv6 TCP test

Doug Berger (1):
net: dsa: bcm_sf2: force pause link settings

Duoming Zhou (1):
net: rose: fix UAF bugs caused by timer handler

Enguerrand de Ribaucourt (2):
net: dp83822: disable false carrier interrupt
net: dp83822: disable rx error interrupt

Eric Dumazet (5):
net: clear msg_get_inq in __sys_recvfrom() and __copy_msghdr_from_user()
tcp: add a missing nf_reset_ct() in 3WHS handling
tunnels: do not assume mac header is set in skb_tunnel_check_pmtu()
net: bonding: fix possible NULL deref in rlb code
ipv6: fix lockdep splat in in6_dump_addrs()

Florian Westphal (2):
netfilter: nf_tables: avoid skb access on nf_stolen
netfilter: br_netfilter: do not skip all hooks with 0 priority

Geliang Tang (1):
mptcp: invoke MP_FAIL response when needed

Hangyu Hua (1):
net: tipc: fix possible refcount leak in tipc_sk_create()

Jakub Kicinski (8):
net: tun: unlink NAPI from device on destruction
Merge branch 'net-dp83822-fix-interrupt-floods'
net: tun: stop NAPI when detaching queues
Merge branch 'notify-user-space-if-any-actions-were-flushed-before-error'
Merge branch 'mptcp-fixes-for-5-19'
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf
net: tun: avoid disabling NAPI twice
selftest: tun: add test for NAPI dismantle

Jakub Sitnicki (1):
selftests/bpf: Test sockmap update when socket has ULP

Jianglei Nie (1):
net: sfp: fix memory leak in sfp_probe()

Jose Alonso (1):
net: usb: ax88179_178a: Fix packet receiving

Krzysztof Kozlowski (2):
net/ncsi: use proper "mellanox" DT vendor prefix
nfc: nfcmrvl: Fix irq_of_parse_and_map() return value

Liang He (1):
net/dsa/hirschmann: Add missing of_node_get() in hellcreek_led_setup()

Lukas Wunner (1):
net: phy: Don't trigger state machine while in suspend

Mat Martineau (1):
selftests: mptcp: Initialize variables to quiet gcc 12 warnings

Michael Walle (3):
MAINTAINERS: nfc: drop Charles Gorand from NXP-NCI
NFC: nxp-nci: Don't issue a zero length i2c_master_read()
NFC: nxp-nci: don't print header length mismatch on i2c error

Nicolas Dichtel (1):
ipv6: take care of disable_policy when restoring routes

Oleksij Rempel (3):
net: asix: fix "can't send until first packet is send" issue
net: usb: asix: do not force pause frames support
net: phy: ax88772a: fix lost pause advertisement configuration

Oliver Neukum (1):
usbnet: fix memory allocation in helpers

Ossama Othman (1):
mptcp: fix conflict with <netinet/in.h>

Pablo Neira Ayuso (1):
netfilter: nft_dynset: restore set element counter when failing to update

Paolo Abeni (6):
mptcp: fix error mibs accounting
mptcp: introduce MAPPING_BAD_CSUM
mptcp: fix shutdown vs fallback race
mptcp: consistent map handling on failure
mptcp: fix race on unaccepted mptcp sockets
selftests: mptcp: more stable diag tests

Petr Machata (1):
mlxsw: spectrum_router: Fix rollback in tunnel next hop init

Shreenidhi Shedi (1):
octeon_ep: use bitwise AND

Tong Zhang (1):
epic100: fix use after free on rmmod

Victor Nogueira (2):
net/sched: act_api: Notify user space if any actions were flushed before error
selftests: tc-testing: Add testcases to test new flush behaviour

Vladimir Oltean (1):
net: dsa: felix: fix race between reading PSFP stats and port stats

Xin Long (1):
tipc: move bc link creation back to tipc_node_create

Yevhen Orlov (1):
net: bonding: fix use-after-free after 802.3ad slave unbind

YueHaibing (1):
net: ipv6: unexport __init-annotated seg6_hmac_net_init()

katrinzhou (1):
ipv6/sit: fix ipip6_tunnel_get_prl return value

MAINTAINERS | 3 +-
drivers/net/bonding/bond_3ad.c | 3 +-
drivers/net/bonding/bond_alb.c | 2 +-
drivers/net/dsa/bcm_sf2.c | 5 +
drivers/net/dsa/hirschmann/hellcreek_ptp.c | 1 +
drivers/net/dsa/ocelot/felix_vsc9959.c | 4 +
.../marvell/octeon_ep/octep_regs_cn9k_pf.h | 2 +-
.../net/ethernet/mellanox/mlxsw/spectrum_router.c | 14 +-
.../ethernet/microchip/sparx5/sparx5_switchdev.c | 6 +
drivers/net/ethernet/smsc/epic100.c | 4 +-
drivers/net/phy/ax88796b.c | 6 +-
drivers/net/phy/dp83822.c | 4 +-
drivers/net/phy/phy.c | 23 +++
drivers/net/phy/phy_device.c | 23 +++
drivers/net/phy/sfp.c | 2 +-
drivers/net/tun.c | 15 +-
drivers/net/usb/asix.h | 3 +-
drivers/net/usb/asix_common.c | 1 +
drivers/net/usb/ax88179_178a.c | 101 +++++++++----
drivers/net/usb/usbnet.c | 4 +-
drivers/nfc/nfcmrvl/i2c.c | 6 +-
drivers/nfc/nfcmrvl/spi.c | 6 +-
drivers/nfc/nxp-nci/i2c.c | 11 +-
include/linux/netdevice.h | 2 +-
include/linux/phy.h | 6 +
include/net/netfilter/nf_tables.h | 16 +-
include/uapi/linux/mptcp.h | 9 +-
net/bridge/br_netfilter_hooks.c | 21 ++-
net/ipv4/ip_tunnel_core.c | 2 +-
net/ipv4/tcp_ipv4.c | 6 +-
net/ipv6/addrconf.c | 8 +-
net/ipv6/route.c | 9 +-
net/ipv6/seg6_hmac.c | 1 -
net/ipv6/sit.c | 8 +-
net/mptcp/options.c | 7 +-
net/mptcp/pm.c | 10 +-
net/mptcp/protocol.c | 84 +++++++----
net/mptcp/protocol.h | 24 ++-
net/mptcp/subflow.c | 127 ++++++++++++----
net/ncsi/ncsi-manage.c | 3 +-
net/netfilter/nf_tables_core.c | 24 ++-
net/netfilter/nf_tables_trace.c | 44 +++---
net/netfilter/nft_set_hash.c | 2 +
net/rose/rose_timer.c | 34 +++--
net/sched/act_api.c | 22 ++-
net/socket.c | 16 +-
net/tipc/node.c | 41 +++---
net/tipc/socket.c | 1 +
.../selftests/bpf/prog_tests/sockmap_ktls.c | 84 +++++++++--
tools/testing/selftests/net/Makefile | 2 +-
tools/testing/selftests/net/bpf/Makefile | 2 +-
tools/testing/selftests/net/mptcp/diag.sh | 48 +++++-
tools/testing/selftests/net/mptcp/mptcp_connect.c | 2 +-
tools/testing/selftests/net/mptcp/mptcp_inq.c | 2 +-
tools/testing/selftests/net/mptcp/mptcp_sockopt.c | 2 +-
tools/testing/selftests/net/tun.c | 162 +++++++++++++++++++++
tools/testing/selftests/net/udpgso_bench.sh | 2 +-
.../tc-testing/tc-tests/actions/gact.json | 77 ++++++++++
58 files changed, 905 insertions(+), 254 deletions(-)
create mode 100644 tools/testing/selftests/net/tun.c