[GIT PULL] Networking for 5.17-rc6

Jakub Kicinski
2022-02-24T19:53:16Z

Hi Linus!

The following changes since commit 8b97cae315cafd7debf3601f88621e2aa8956ef3:

Merge tag 'net-5.17-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2022-02-17 11:33:59 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git tags/net-5.17-rc6

for you to fetch changes up to 42404d8f1c01861b22ccfa1d70f950242720ae57:

net: mv643xx_eth: process retval from of_get_mac_address (2022-02-24 10:05:08 -0800)

----------------------------------------------------------------
Networking fixes for 5.17-rc6, including fixes from bpf and netfilter.

Current release - regressions:

- bpf: fix crash due to out of bounds access into reg2btf_ids

- mvpp2: always set port pcs ops, avoid null-deref

- eth: marvell: fix driver load from initrd

- eth: intel: revert "Fix reset bw limit when DCB enabled with 1 TC"

Current release - new code bugs:

- mptcp: fix race in overlapping signal events

Previous releases - regressions:

- xen-netback: revert hotplug-status changes causing devices to
not be configured

- dsa:
- avoid call to __dev_set_promiscuity() while rtnl_mutex isn't held
- fix panic when removing unoffloaded port from bridge

- dsa: microchip: fix bridging with more than two member ports

Previous releases - always broken:

- bpf:
- fix crash due to incorrect copy_map_value when both spin lock
and timer are present in a single value
- fix a bpf_timer initialization issue with clang
- do not try bpf_msg_push_data with len 0
- add schedule points in batch ops

- nf_tables:
- unregister flowtable hooks on netns exit
- correct flow offload action array size
- fix a couple of memory leaks

- vsock: don't check owner in vhost_vsock_stop() while releasing

- gso: do not skip outer ip header in case of ipip and net_failover

- smc: use a mutex for locking "struct smc_pnettable"

- openvswitch: fix setting ipv6 fields causing hw csum failure

- mptcp: fix race in incoming ADD_ADDR option processing

- sysfs: add check for netdevice being present to speed_show

- sched: act_ct: fix flow table lookup after ct clear or switching
zones

- eth: intel: fixes for SR-IOV forwarding offloads

- eth: broadcom: fixes for selftests and error recovery

- eth: mellanox: flow steering and SR-IOV forwarding fixes

Misc:

- make __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor
friends not report freed skbs as drops

- force inlining of checksum functions in net/checksum.h

Signed-off-by: Jakub Kicinski <kuba@kernel.org>

----------------------------------------------------------------
Alexei Starovoitov (2):
Merge branch 'Fix for crash due to overwrite in copy_map_value'
Merge branch 'bpf: fix a bpf_timer initialization issue'

Alvin Šipraga (2):
net: dsa: fix panic when removing unoffloaded port from bridge
MAINTAINERS: add myself as co-maintainer for Realtek DSA switch drivers

Ariel Levkovich (1):
net/mlx5: Fix wrong limitation of metadata match on ecpf

Baruch Siach (1):
net: mdio-ipq4019: add delay after clock enable

Chris Mi (1):
net/mlx5: Fix tc max supported prio for nic mode

Christophe JAILLET (1):
nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()

Christophe Leroy (1):
net: Force inlining of checksum functions in net/checksum.h

Dan Carpenter (2):
udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister()
tipc: Fix end of loop tests for list_for_each_entry()

David S. Miller (5):
Merge branch 'mptcp-fixes'
Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue
Merge branch 'bnxt_en-fixes'
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf
Merge branch 'ftgmac100-fixes'

Duoming Zhou (1):
drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()

Eric Dumazet (3):
bpf: Add schedule points in batch ops
net-timestamp: convert sk->sk_tskey to atomic_t
net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends

Fabio M. De Francesco (1):
net/smc: Use a mutex for locking "struct smc_pnettable"

Felix Maurer (2):
bpf: Do not try bpf_msg_push_data with len 0
selftests: bpf: Check bpf_msg_push_data return value

Florian Westphal (2):
netfilter: nft_limit: fix stateful object memory leak
netfilter: nf_tables: fix memory leak during stateful obj update

Gal Pressman (2):
net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
net/mlx5e: Fix VF min/max rate parameters interchange mistake

Heyi Guo (3):
drivers/net/ftgmac100: refactor ftgmac100_reset_task to enable direct function call
drivers/net/ftgmac100: adjust code place for function call dependency
drivers/net/ftgmac100: fix DHCP potential failure with systemd

Jacob Keller (1):
ice: fix concurrent reset and removal of VFs

Jakub Kicinski (2):
Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Merge tag 'mlx5-fixes-2022-02-23' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux

Jeremy Linton (1):
net: mvpp2: always set port pcs ops

Kalesh AP (2):
bnxt_en: Restore the resets_reliable flag in bnxt_open()
bnxt_en: Fix devlink fw_activate

Kumar Kartikeya Dwivedi (3):
bpf: Fix crash due to incorrect copy_map_value
selftests/bpf: Add test for bpf_timer overwriting crash
bpf: Fix crash due to out of bounds access into reg2btf_ids.

Lama Kayal (2):
net/mlx5e: Add feature check for set fec counters
net/mlx5e: Add missing increment of count

Maher Sanalla (1):
net/mlx5: Update log_max_qp value to be 17 at most

Manish Chopra (1):
bnx2x: fix driver load from initrd

Maor Dickman (2):
net/mlx5e: Fix MPLSoUDP encap to use MPLS action information
net/mlx5e: MPLSoUDP decap, fix check for unsupported matches

Maor Gottlieb (1):
net/mlx5: Fix possible deadlock on rule deletion

Marek Marczykowski-Górecki (2):
Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"
Revert "xen-netback: Check for hotplug-status existence before watching"

Mateusz Palczewski (1):
Revert "i40e: Fix reset bw limit when DCB enabled with 1 TC"

Mauri Sandberg (1):
net: mv643xx_eth: process retval from of_get_mac_address

Meir Lichtinger (1):
net/mlx5: Update the list of the PCI supported devices

Michael Chan (3):
bnxt_en: Fix offline ethtool selftest with RDMA enabled
bnxt_en: Fix occasional ethtool -t loopback test failures
bnxt_en: Increase firmware message response DMA wait time

Michal Swiatkowski (1):
ice: fix setting l4 port flag when adding filter

Niels Dossche (1):
ipv6: prevent a possible race condition with lifetimes

Oliver Neukum (1):
sr9700: sanity check for packet length

Pablo Neira Ayuso (3):
netfilter: xt_socket: missing ifdef CONFIG_IP6_NF_IPTABLES dependency
netfilter: nf_tables_offload: incorrect flow offload action array size
netfilter: nf_tables: unregister flowtable hooks on netns exit

Paolo Abeni (7):
selftests: mptcp: fix diag instability
selftests: mptcp: improve 'fair usage on close' stability
mptcp: fix race in overlapping signal events
mptcp: fix race in incoming ADD_ADDR option processing
mptcp: add mibs counter for ignored incoming options
selftests: mptcp: more robust signal race test
selftests: mptcp: be more conservative with cookie MPJ limits

Paul Blakey (2):
net/sched: act_ct: Fix flow table lookup after ct clear or switching zones
openvswitch: Fix setting ipv6 fields causing hw csum failure

Pavan Chebbi (1):
bnxt_en: Fix incorrect multicast rx mask setting when not requested

Roi Dayan (3):
net/mlx5e: TC, Reject rules with drop and modify hdr action
net/mlx5e: TC, Reject rules with forward and drop actions
net/mlx5e: TC, Skip redundant ct clear actions

Somnath Kotur (1):
bnxt_en: Fix active FEC reporting to ethtool

Stefano Garzarella (1):
vhost/vsock: don't check owner in vhost_vsock_stop() while releasing

Subash Abhinov Kasiviswanathan (1):
MAINTAINERS: rmnet: Update email addresses

Sukadev Bhattiprolu (1):
ibmvnic: schedule failover only if vioctl fails

Svenning Sørensen (1):
net: dsa: microchip: fix bridging with more than two member ports

Tao Liu (1):
gso: do not skip outer ip header in case of ipip and net_failover

Tariq Toukan (1):
net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets

Tom Rix (2):
ice: check the return of ice_ptp_gettimex64
ice: initialize local variable 'tlv'

Vladimir Oltean (1):
net: dsa: avoid call to __dev_set_promiscuity() while rtnl_mutex isn't held

Wan Jiabing (1):
net: sched: avoid newline at end of message in NL_SET_ERR_MSG_MOD

Wojciech Drewek (1):
ice: Match on all profiles in slow-path

Xiaoke Wang (1):
net: ll_temac: check the return value of devm_kmalloc()

Xin Long (1):
ping: remove pr_err from ping_lookup

Yevgeny Kliteynik (4):
net/mlx5: DR, Cache STE shadow memory
net/mlx5: DR, Fix slab-out-of-bounds in mlx5_cmd_dr_create_fte
net/mlx5: DR, Don't allow match on IP w/o matching on full ethertype/ip_version
net/mlx5: DR, Fix the threshold that defines when pool sync is initiated

Yonghong Song (2):
bpf: Emit bpf_timer in vmlinux BTF
bpf: Fix a bpf_timer initialization issue

suresh kumar (1):
net-sysfs: add check for netdevice being present to speed_show

MAINTAINERS | 5 +-
drivers/net/dsa/microchip/ksz_common.c | 26 ++-
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 3 +
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 47 +++-
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 +
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 39 +++-
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 17 +-
drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c | 12 +-
drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.h | 2 +-
drivers/net/ethernet/faraday/ftgmac100.c | 243 +++++++++++----------
drivers/net/ethernet/ibm/ibmvnic.c | 6 +-
drivers/net/ethernet/intel/i40e/i40e_main.c | 12 +-
drivers/net/ethernet/intel/ice/ice.h | 1 -
drivers/net/ethernet/intel/ice/ice_common.c | 2 +-
drivers/net/ethernet/intel/ice/ice_eswitch.c | 1 +
drivers/net/ethernet/intel/ice/ice_main.c | 2 +
drivers/net/ethernet/intel/ice/ice_protocol_type.h | 1 +
drivers/net/ethernet/intel/ice/ice_ptp.c | 5 +-
drivers/net/ethernet/intel/ice/ice_switch.c | 4 +-
drivers/net/ethernet/intel/ice/ice_tc_lib.c | 4 +-
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c | 42 ++--
drivers/net/ethernet/marvell/mv643xx_eth.c | 24 +-
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 6 +-
.../ethernet/mellanox/mlx5/core/en/tc/act/act.h | 2 +
.../net/ethernet/mellanox/mlx5/core/en/tc/act/ct.c | 7 +
.../ethernet/mellanox/mlx5/core/en/tc/act/mirred.c | 6 +
.../ethernet/mellanox/mlx5/core/en/tc/act/mpls.c | 11 +
.../net/ethernet/mellanox/mlx5/core/en/tc_priv.h | 1 +
.../ethernet/mellanox/mlx5/core/en/tc_tun_encap.c | 3 +
.../mellanox/mlx5/core/en/tc_tun_mplsoudp.c | 33 ++-
.../net/ethernet/mellanox/mlx5/core/en_ethtool.c | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/en_rep.h | 8 +
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 3 +-
.../net/ethernet/mellanox/mlx5/core/en_selftest.c | 1 +
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c | 6 +-
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 12 +
drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c | 2 +-
.../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 4 -
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 2 +
.../ethernet/mellanox/mlx5/core/lib/fs_chains.c | 3 +
drivers/net/ethernet/mellanox/mlx5/core/main.c | 4 +-
.../mellanox/mlx5/core/steering/dr_icm_pool.c | 120 ++++++----
.../mellanox/mlx5/core/steering/dr_matcher.c | 20 +-
.../ethernet/mellanox/mlx5/core/steering/dr_ste.c | 32 ++-
.../mellanox/mlx5/core/steering/dr_types.h | 10 +
.../ethernet/mellanox/mlx5/core/steering/fs_dr.c | 33 ++-
.../ethernet/mellanox/mlx5/core/steering/mlx5dr.h | 5 +
.../ethernet/netronome/nfp/flower/tunnel_conf.c | 4 +-
drivers/net/ethernet/xilinx/ll_temac_main.c | 2 +
drivers/net/hamradio/6pack.c | 4 +-
drivers/net/mdio/mdio-ipq4019.c | 6 +-
drivers/net/usb/sr9700.c | 2 +-
drivers/net/xen-netback/xenbus.c | 14 +-
drivers/vhost/vsock.c | 21 +-
include/linux/bpf.h | 9 +-
include/net/checksum.h | 52 +++--
include/net/netfilter/nf_tables.h | 2 +-
include/net/netfilter/nf_tables_offload.h | 2 -
include/net/sock.h | 4 +-
kernel/bpf/btf.c | 5 +-
kernel/bpf/helpers.c | 2 +
kernel/bpf/syscall.c | 3 +
net/can/j1939/transport.c | 2 +-
net/core/filter.c | 3 +
net/core/net-sysfs.c | 2 +-
net/core/skbuff.c | 6 +-
net/core/sock.c | 4 +-
net/dsa/master.c | 7 +-
net/dsa/port.c | 29 ++-
net/ipv4/af_inet.c | 5 +-
net/ipv4/ip_output.c | 2 +-
net/ipv4/ping.c | 1 -
net/ipv4/udp_tunnel_nic.c | 2 +-
net/ipv6/addrconf.c | 2 +
net/ipv6/ip6_offload.c | 2 +
net/ipv6/ip6_output.c | 2 +-
net/mptcp/mib.c | 2 +
net/mptcp/mib.h | 2 +
net/mptcp/pm.c | 8 +-
net/mptcp/pm_netlink.c | 29 ++-
net/netfilter/nf_tables_api.c | 16 +-
net/netfilter/nf_tables_offload.c | 3 +-
net/netfilter/nft_dup_netdev.c | 6 +
net/netfilter/nft_fwd_netdev.c | 6 +
net/netfilter/nft_immediate.c | 12 +-
net/netfilter/nft_limit.c | 18 ++
net/netfilter/xt_socket.c | 2 +
net/openvswitch/actions.c | 46 +++-
net/sched/act_api.c | 2 +-
net/sched/act_ct.c | 5 -
net/smc/smc_pnet.c | 42 ++--
net/smc/smc_pnet.h | 2 +-
net/tipc/name_table.c | 2 +-
net/tipc/socket.c | 2 +-
.../testing/selftests/bpf/prog_tests/timer_crash.c | 32 +++
.../selftests/bpf/progs/test_sockmap_kern.h | 26 ++-
tools/testing/selftests/bpf/progs/timer_crash.c | 54 +++++
tools/testing/selftests/net/mptcp/diag.sh | 44 +++-
tools/testing/selftests/net/mptcp/mptcp_join.sh | 32 ++-
99 files changed, 990 insertions(+), 439 deletions(-)
create mode 100644 tools/testing/selftests/bpf/prog_tests/timer_crash.c
create mode 100644 tools/testing/selftests/bpf/progs/timer_crash.c