[GIT] Networking

From: David Miller
Date: Fri Apr 24 2020 - 22:02:26 EST



1) Fix memory leak in netfilter flowtable, from Roi Dayan.

2) Ref-count leaks in netrom and tipc, from Xiyu Yang.

3) Fix warning when mptcp socket is never accepted before close,
from Florian Westphal.

4) Missed locking in ovs_ct_exit(), from Tonghao Zhang.

5) Fix large delays during PTP synchornization in cxgb4, from Rahul
Lakkireddy.

6) team_mode_get() can hang, from Taehee Yoo.

7) Need to use kvzalloc() when allocating fw tracer in mlx5 driver,
from Niklas Schnelle.

8) Fix handling of bpf XADD on BTF memory, from Jann Horn.

9) Fix BPF_STX/BPF_B encoding in x86 bpf jit, from Luke Nelson.

10) Missing queue memory release in iwlwifi pcie code, from Johannes
Berg.

11) Fix NULL deref in macvlan device event, from Taehee Yoo.

12) Initialize lan87xx phy correctly, from Yuiko Oshino.

13) Fix looping between VRF and XFRM lookups, from David Ahern.

14) etf packet scheduler assumes all sockets are full sockets, which
is not necessarily true. From Eric Dumazet.

15) Fix mptcp data_fin handling in RX path, from Paolo Abeni.

16) fib_select_default() needs to handle nexthop objects, from David
Ahern.

17) Use GFP_ATOMIC under spinlock in mac80211_hwsim, from Wei Yongjun.

18) vxlan and geneve use wrong nlattr array, from Sabrina Dubroca.

19) Correct rx/tx stats in bcmgenet driver, from Doug Berger.

20) BPF_LDX zero-extension is encoded improperly in x86_32 bpf jit,
fix from Luke Nelson.

Please pull, thanks a lot!

The following changes since commit 2fcd80144b93ff90836a44f2054b4d82133d3a85:

Merge tag 'tag-chrome-platform-fixes-for-v5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux (2020-04-16 15:00:57 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git

for you to fetch changes up to 167ff131cb3dffccab8bb4d65a8d72e7c5ffc398:

Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (2020-04-24 18:26:14 -0700)

----------------------------------------------------------------
Alexander Aring (1):
ipv6: rpl: fix full address compression

Andrii Nakryiko (2):
bpf: Fix leak in LINK_UPDATE and enforce empty old_prog_fd
tools/runqslower: Ensure own vmlinux.h is picked up first

Baruch Siach (1):
net: phy: marvell10g: limit soft reset to 88x3310

Bo YU (1):
mptcp/pm_netlink.c : add check for nla_put_in/6_addr

Chris Rorvick (1):
iwlwifi: actually check allocated conf_tlv pointer

Dan Carpenter (1):
mlxsw: Fix some IS_ERR() vs NULL bugs

David Ahern (6):
xfrm: Always set XFRM_TRANSFORMED in xfrm{4,6}_output_finish
vrf: Check skb for XFRM_TRANSFORMED flag
selftests: Fix suppress test in fib_tests.sh
vrf: Fix IPv6 with qdisc and xfrm
ipv4: Update fib_select_default to handle nexthop objects
libbpf: Only check mode flags in get_xdp_id

David S. Miller (11):
Merge branch 'mptcp-fixes'
Merge branch 'mptcp-fix-races-on-accept'
Merge tag 'mlx5-fixes-2020-04-20' of git://git.kernel.org/.../saeed/linux
Merge git://git.kernel.org/.../pablo/nf
Merge branch 'vrf-looping'
Merge branch 'net-dsa-b53-Various-ARL-fixes'
Merge branch 'sctp-fixes'
Merge branch 'vxlan-geneve-use-the-correct-nlattr-array-for-extack'
Merge tag 'wireless-drivers-2020-04-24' of git://git.kernel.org/.../kvalo/wireless-drivers
Merge tag 'mac80211-for-net-2020-04-24' of git://git.kernel.org/.../jberg/mac80211
Merge git://git.kernel.org/.../bpf/bpf

Dejin Zheng (1):
net: broadcom: convert to devm_platform_ioremap_resource_byname()

Doug Berger (3):
net: bcmgenet: correct per TX/RX ring statistics
net: bcmgenet: suppress warnings on failed Rx SKB allocations
net: systemport: suppress warnings on failed Rx SKB allocations

Eric Dumazet (3):
net/mlx4_en: avoid indirect call in TX completion
tcp: cache line align MAX_TCP_HEADER
sched: etf: do not assume all sockets are full blown

Florian Fainelli (5):
net: dsa: b53: Lookup VID in ARL searches when VLAN is enabled
net: dsa: b53: Fix valid setting for MDB entries
net: dsa: b53: Fix ARL register definitions
net: dsa: b53: Rework ARL bin logic
net: dsa: b53: b53_arl_rw_op() needs to select IVL or SVL

Florian Westphal (3):
mptcp: fix splat when incoming connection is never accepted before exit/close
mptcp: fix 'Attempt to release TCP socket in state' warnings
mptcp: handle mptcp listener destruction via rcu

Hillf Danton (1):
netfilter: nat: fix error handling upon registering inet hook

Ilan Peer (1):
iwlwifi: mvm: Do not declare support for ACK Enabled Aggregation

Ioana Ciornei (1):
MAINTAINERS: update dpaa2-eth maintainer list

Jakub Wilk (1):
bpf: Fix reStructuredText markup

Jann Horn (2):
bpf: Forbid XADD on spilled pointers for unprivileged users
bpf: Fix handling of XADD on BTF memory

Jason Yan (3):
ptp: Remove unneeded conversion to bool
i40e: Remove unneeded conversion to bool
e1000: remove unneeded conversion to bool

Jere LeppÃnen (2):
sctp: Fix bundling of SHUTDOWN with COOKIE-ACK
sctp: Fix SHUTDOWN CTSN Ack in the peer restart case

Jiri Slaby (1):
cgroup, netclassid: remove double cond_resched

Johannes Berg (5):
iwlwifi: pcie: actually release queue memory in TVQM
iwlwifi: pcie: indicate correct RB size to device
iwlwifi: mvm: limit maximum queue appropriately
iwlwifi: mvm: fix inactive TID removal return value usage
mac80211: populate debugfs only after cfg80211 init

John Haxby (1):
ipv6: fix restrict IPV6_ADDRFORM operation

Jonathan Corbet (1):
net: meth: remove spurious copyright text

Julien Beraud (2):
net: stmmac: fix enabling socfpga's ptp_ref_clock
net: stmmac: Fix sub-second increment

Luca Coelho (1):
iwlwifi: fix WGDS check when WRDS is disabled

Luke Nelson (4):
bpf, x86: Fix encoding for lower 8-bit registers in BPF_STX BPF_B
bpf, selftests: Add test for BPF_STX BPF_B storing R10
bpf, x86_32: Fix incorrect encoding in BPF_LDX zero-extension
bpf, x86_32: Fix clobbering of dst for BPF_JSET

Maciej Åenczykowski (1):
ipv6: ndisc: RFC-ietf-6man-ra-pref64-09 is now published as RFC8781

Madhuparna Bhowmik (1):
mac80211: sta_info: Add lockdep condition for RCU list usage

Marc Zyngier (1):
net: stmmac: dwmac-meson8b: Add missing boundary to RGMII TX clock array

Martin KaFai Lau (1):
bpftool: Respect the -d option in struct_ops cmd

Maxim Mikityanskiy (1):
net/mlx5e: Don't trigger IRQ multiple times on XSK wakeup to avoid WQ overruns

Mordechay Goodstein (1):
iwlwifi: mvm: beacon statistics shouldn't go backwards

Niklas Schnelle (1):
net/mlx5: Fix failing fw tracer allocation on s390

Nils ANDRÃ-CHANG (1):
MAINTAINERS: Update URL for wireless drivers

Paolo Abeni (3):
mptcp: avoid flipping mp_capable field in syn_recv_sock()
mptcp: drop req socket remote_key* fields
mptcp: fix data_fin handing in RX path

Paul Blakey (1):
net/mlx5: CT: Change idr to xarray to protect parallel tuple id allocation

Rahul Lakkireddy (1):
cxgb4: fix large delays in PTP synchronization

Rohit Maheshwari (1):
chcr: Fix CPU hard lockup

Roi Dayan (1):
netfilter: flowtable: Free block_cb when being deleted

Russell King (1):
net: phy: bcm84881: clear settings on link down

Ryder Lee (1):
MAINTAINERS: update mt76 reviewers

Sabrina Dubroca (2):
vxlan: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
geneve: use the correct nlattr array in NL_SET_ERR_MSG_ATTR

Saeed Mahameed (1):
net/mlx5: Kconfig: convert imply usage to weak dependency

Salvatore Bonaccorso (1):
netlabel: Kconfig: Update reference for NetLabel Tools project

Sergey Matyukevich (1):
MAINTAINERS: update list of qtnfmac maintainers

Stanislav Fomichev (1):
selftests/bpf: Fix a couple of broken test_btf cases

Stephen Hemminger (1):
Documentation: add documentation of ping_group_range

Taehee Yoo (3):
team: fix hang in team_mode_get()
macvlan: fix null dereference in macvlan_device_event()
macsec: avoid to set wrong mtu

Tang Bin (2):
net: systemport: Omit superfluous error message in bcm_sysport_probe()
net: ethernet: ixp4xx: Add error handling in ixp4xx_eth_probe()

Toke HÃiland-JÃrgensen (3):
cpumap: Avoid warning when CONFIG_DEBUG_PER_CPU_MAPS is enabled
bpf: Propagate expected_attach_type when verifying freplace programs
selftests/bpf: Add test for freplace program with expected_attach_type

Tonghao Zhang (1):
net: openvswitch: ovs_ct_exit to be done under ovs_lock

Vishal Kulkarni (1):
cxgb4: fix adapter crash due to wrong MC size

Vladimir Oltean (1):
net: dsa: don't fail to probe if we couldn't set the MTU

Voon Weifeng (1):
net: stmmac: Enable SERDES power up/down sequence

Wang YanQing (1):
bpf, x86_32: Fix logic error in BPF_LDX zero-extension

Wei Yongjun (1):
mac80211_hwsim: use GFP_ATOMIC under spin lock

Xiyu Yang (5):
net: netrom: Fix potential nr_neigh refcnt leak in nr_add_node
tipc: Fix potential tipc_aead refcnt leak in tipc_crypto_rcv
tipc: Fix potential tipc_node refcnt leak in tipc_rcv
wimax/i2400m: Fix potential urb refcnt leak
net/x25: Fix x25_neigh refcnt leak when receiving frame

Yuiko Oshino (1):
net: phy: microchip_t1: add lan87xx_phy_init to initialize the lan87xx phy.

Zhu Yanjun (1):
net/mlx5e: Get the latest values from counters in switchdev mode

Zou Wei (1):
bpf: Make bpf_link_fops static

Documentation/networking/ip-sysctl.txt | 7 +++
MAINTAINERS | 45 +++++++++---------
arch/x86/net/bpf_jit_comp.c | 18 +++++--
arch/x86/net/bpf_jit_comp32.c | 28 ++++++++---
drivers/crypto/chelsio/chcr_ktls.c | 6 +--
drivers/net/dsa/b53/b53_common.c | 38 +++++++++++++--
drivers/net/dsa/b53/b53_regs.h | 8 +++-
drivers/net/ethernet/broadcom/bcmsysport.c | 4 +-
drivers/net/ethernet/broadcom/bgmac-platform.c | 33 +++++--------
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 6 ++-
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c | 27 ++++++++---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c | 27 +++--------
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 3 ++
drivers/net/ethernet/intel/e1000/e1000_main.c | 2 +-
drivers/net/ethernet/intel/i40e/i40e_main.c | 4 +-
drivers/net/ethernet/mellanox/mlx4/en_tx.c | 14 +++++-
drivers/net/ethernet/mellanox/mlx5/core/Kconfig | 8 ++--
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c | 6 +--
drivers/net/ethernet/mellanox/mlx5/core/en.h | 3 +-
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c | 23 ++++-----
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c | 3 ++
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 7 ++-
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 8 ++--
drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c | 6 ++-
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c | 4 +-
drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c | 4 +-
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c | 2 +-
drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c | 4 +-
drivers/net/ethernet/sgi/meth.h | 16 -------
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 189 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.h | 23 +++++++++
drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c | 1 +
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 9 ++--
drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c | 12 +++--
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 23 +++++++++
drivers/net/ethernet/xscale/ixp4xx_eth.c | 2 +
drivers/net/geneve.c | 2 +-
drivers/net/macsec.c | 12 +++--
drivers/net/macvlan.c | 2 +-
drivers/net/phy/bcm84881.c | 6 +--
drivers/net/phy/marvell10g.c | 3 +-
drivers/net/phy/microchip_t1.c | 171 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/net/team/team.c | 4 ++
drivers/net/vrf.c | 10 ++--
drivers/net/vxlan.c | 6 +--
drivers/net/wimax/i2400m/usb-fw.c | 1 +
drivers/net/wireless/intel/iwlegacy/3945-rs.c | 2 +-
drivers/net/wireless/intel/iwlegacy/4965-rs.c | 2 +-
drivers/net/wireless/intel/iwlwifi/dvm/rs.c | 2 +-
drivers/net/wireless/intel/iwlwifi/fw/acpi.c | 9 +++-
drivers/net/wireless/intel/iwlwifi/fw/api/txq.h | 6 +--
drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 2 +-
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 6 +--
drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 25 +++++-----
drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 2 +-
drivers/net/wireless/intel/iwlwifi/mvm/rx.c | 13 ++++-
drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 9 +++-
drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c | 18 +++++--
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c | 3 ++
drivers/net/wireless/mac80211_hwsim.c | 2 +-
drivers/net/wireless/realtek/rtlwifi/rc.c | 2 +-
drivers/ptp/ptp_ines.c | 4 +-
include/linux/stmmac.h | 2 +
include/net/mac80211.h | 4 +-
include/net/ndisc.h | 2 +-
include/net/tcp.h | 2 +-
include/uapi/linux/bpf.h | 2 +-
kernel/bpf/cpumap.c | 2 +-
kernel/bpf/syscall.c | 13 +++--
kernel/bpf/verifier.c | 38 +++++++++++----
net/core/netclassid_cgroup.c | 4 +-
net/dsa/slave.c | 8 ++--
net/ipv4/fib_semantics.c | 6 +--
net/ipv4/xfrm4_output.c | 2 -
net/ipv6/ipv6_sockglue.c | 13 +++--
net/ipv6/rpl.c | 7 +--
net/ipv6/xfrm6_output.c | 2 -
net/mac80211/main.c | 5 +-
net/mac80211/rate.c | 15 ++----
net/mac80211/rate.h | 23 +++++++++
net/mac80211/rc80211_minstrel_ht.c | 19 +++++---
net/mac80211/sta_info.c | 3 +-
net/mptcp/options.c | 3 +-
net/mptcp/pm_netlink.c | 12 +++--
net/mptcp/protocol.c | 19 ++++++--
net/mptcp/protocol.h | 8 ++--
net/mptcp/subflow.c | 99 +++++++++++++++++++++++++++-----------
net/netfilter/nf_flow_table_core.c | 6 ++-
net/netfilter/nf_nat_proto.c | 4 +-
net/netlabel/Kconfig | 2 +-
net/netrom/nr_route.c | 1 +
net/openvswitch/conntrack.c | 3 +-
net/openvswitch/datapath.c | 4 +-
net/sched/sch_etf.c | 7 +--
net/sctp/sm_make_chunk.c | 6 ++-
net/sctp/sm_statefuns.c | 6 +--
net/tipc/crypto.c | 1 +
net/tipc/node.c | 4 +-
net/x25/x25_dev.c | 4 +-
tools/bpf/bpftool/struct_ops.c | 8 +++-
tools/bpf/runqslower/Makefile | 2 +-
tools/include/uapi/linux/bpf.h | 2 +-
tools/lib/bpf/netlink.c | 2 +
tools/testing/selftests/bpf/prog_tests/fexit_bpf2bpf.c | 30 +++++++++---
tools/testing/selftests/bpf/progs/connect4_prog.c | 28 ++++++-----
tools/testing/selftests/bpf/progs/freplace_connect4.c | 18 +++++++
tools/testing/selftests/bpf/progs/test_btf_haskv.c | 18 ++-----
tools/testing/selftests/bpf/progs/test_btf_newkv.c | 18 ++-----
tools/testing/selftests/bpf/progs/test_btf_nokv.c | 18 ++-----
tools/testing/selftests/bpf/test_btf.c | 2 +-
tools/testing/selftests/bpf/verifier/stack_ptr.c | 40 ++++++++++++++++
tools/testing/selftests/bpf/verifier/value_illegal_alu.c | 1 +
tools/testing/selftests/net/fib_nexthops.sh | 23 +++++++++
tools/testing/selftests/net/fib_tests.sh | 10 +++-
114 files changed, 1131 insertions(+), 397 deletions(-)
create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-intel.h
create mode 100644 tools/testing/selftests/bpf/progs/freplace_connect4.c