[GIT] Networking
From: David Miller
Date: Thu Dec 20 2018 - 00:03:47 EST
This should be the last networking pull request before the next merge
window.
1) Off by one in netlink parsing of mac802154_hwsim, from Alexander
Aring.
2) nf_tables RCU usage fix from Taehee Yoo.
3) Flow dissector needs nhoff and thoff clamping, from Stanislav
Fomichev.
4) Missing sin6_flowinfo initialization in SCTP, from Xin Long.
5) Spectrev1 in ipmr and ip6mr, from Gustavo A. R. Silva.
6) Fix r8169 crash when DEBUG_SHIRQ is enabled, from Heiner Kallweit.
7) Fix SKB leak in rtlwifi, from Larry Finger.
8) Fix state pruning in bpf verifier, from Jakub Kicinski.
9) Don't handle completely duplicate fragments as overlapping,
from Michal Kubecek.
10) Fix memory corruption with macb and 64-bit DMA, from Anssi
Hannula.
11) Fix TCP fallback socket release in smc, from Myungho Jung.
12) gro_cells_destroy needs to napi_disable, from Lorenzo Bianconi.
Please pull, thanks a lot!
The following changes since commit 40e020c129cfc991e8ab4736d2665351ffd1468d:
Linux 4.20-rc6 (2018-12-09 15:31:00 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
for you to fetch changes up to d84e7bc0595a7e146ad0ddb80b240cea77825245:
rds: Fix warning. (2018-12-19 20:53:18 -0800)
----------------------------------------------------------------
Alaa Hleihel (1):
net/mlx5e: Remove the false indication of software timestamping support
Alexander Aring (1):
ieee802154: hwsim: fix off-by-one in parse nested
Anssi Hannula (3):
net: macb: fix random memory corruption on RX with 64-bit DMA
net: macb: fix dropped RX frames due to a race
net: macb: add missing barriers when reading descriptors
Antoine Tenart (2):
net: mvpp2: 10G modes aren't supported on all ports
net: mvpp2: fix the phylink mode validation
Arnd Bergmann (1):
w90p910_ether: remove incorrect __init annotation
Atul Gupta (5):
net/tls: Init routines in create_ctx
net/tls: sleeping function from invalid context
crypto/chelsio/chtls: listen fails with multiadapt
crypto/chelsio/chtls: macro correction in tx path
crypto/chelsio/chtls: send/recv window update
Benjamin Poirier (1):
xfrm: Fix bucket count reported to userspace
Brian Norris (1):
Revert "mwifiex: restructure rx_reorder_tbl_lock usage"
Bryan Whitehead (2):
lan743x: Expand phy search for LAN7431
lan743x: Remove MAC Reset from initialization
Claudiu Beznea (1):
net: macb: restart tx after tx used bit read
Colin Ian King (1):
vxge: ensure data0 is initialized in when fetching firmware version information
Cong Wang (6):
tipc: use lock_sock() in tipc_sk_reinit()
tipc: fix a double kfree_skb()
tipc: compare remote and local protocols in tipc_udp_enable()
tipc: check tsk->group in tipc_wait_for_cond()
tipc: check group dests after tipc_wait_for_cond()
ipv6: explicitly initialize udp6_addr in udp_sock_create6()
Dan Carpenter (2):
qed: Fix an error code qed_ll2_start_xmit()
net: stmmac: Fix an error code in probe()
Daniel Borkmann (1):
bpf: fix bpf_jit_limit knob for PAGE_SIZE >= 64K
Dave Taht (1):
net: Allow class-e address assignment via ifconfig ioctl
David Ahern (1):
neighbor: NTF_PROXY is a valid ndm_flag for a dump request
David S. Miller (20):
Merge branch 'ibmvnic-Fix-reset-work-item-locking-bugs'
Merge branch 'ieee802154-for-davem-2018-12-11' of git://git.kernel.org/.../sschmidt/wpan
Merge branch 'bnx2x-Fix-series'
Merge git://git.kernel.org/.../pablo/nf
Merge branch '40GbE' of git://git.kernel.org/.../jkirsher/net-queue
Merge branch 'vhost-fixes'
Merge tag 'mlx5-fixes-2018-12-13' of git://git.kernel.org/.../saeed/linux
Merge git://git.kernel.org/.../bpf/bpf
Merge branch 'hns-fixes'
Merge branch 'net-SO_TIMESTAMPING-fixes'
Merge branch 'mlxsw-VXLAN-and-firmware-flashing-fixes'
Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec
Merge branch 'macb-DMA-race-fixes'
Merge branch 'vxlan-Various-fixes'
Merge git://git.kernel.org/.../bpf/bpf
Merge tag 'mac80211-for-davem-2018-12-19' of git://git.kernel.org/.../jberg/mac80211
Merge tag 'wireless-drivers-for-davem-2018-12-19' of git://git.kernel.org/.../kvalo/wireless-drivers
Merge branch 'rds-fixes'
Merge tag 'mlx5-fixes-2018-12-19' of git://git.kernel.org/.../saeed/linux
rds: Fix warning.
Davide Caratti (1):
net: Use __kernel_clockid_t in uapi net_stamp.h
Emmanuel Grumbach (1):
iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT to old firmwares
Eric Dumazet (1):
net: clear skb->tstamp in forwarding paths
Florian Westphal (2):
netfilter: seqadj: re-load tcp header pointer after possible head reallocation
netfilter: nat: can't use dst_hold on noref dst
Ganesh Goudar (1):
net/tls: allocate tls context using GFP_ATOMIC
Gavi Teitz (1):
net/mlx5e: Fix default amount of channels for VF representors
Gustavo A. R. Silva (2):
ipv4: Fix potential Spectre v1 vulnerability
ip6mr: Fix potential Spectre v1 vulnerability
Heiner Kallweit (1):
r8169: fix crash if CONFIG_DEBUG_SHIRQ is enabled
Hui Peng (1):
USB: hso: Fix OOB memory access in hso_probe/hso_get_config_data
Ido Schimmel (2):
mlxsw: spectrum: Add trap for decapsulated ARP packets
mlxsw: spectrum_nve: Fix memory leak upon driver reload
Jakub Kicinski (2):
bpf: verifier: make sure callees don't prune with caller differences
net: netlink: rename NETLINK_DUMP_STRICT_CHK -> NETLINK_GET_STRICT_CHK
Jason Martinsen (1):
lan78xx: Resolve issue with changing MAC address
Jason Wang (3):
vhost: make sure used idx is seen before log in vhost_add_used_n()
vhost_net: switch to use mutex_trylock() in vhost_net_busy_poll()
Revert "net: vhost: lock the vqs one by one"
Johannes Berg (1):
nl80211: fix memory leak if validate_pae_over_nl80211() fails
Jorgen Hansen (1):
VSOCK: Send reset control packet when socket is partially bound
Juergen Gross (1):
xen/netfront: tolerate frags with no data
JÃrgen Storvist (2):
qmi_wwan: Added support for Fibocom NL668 series
qmi_wwan: Added support for Telit LN940 series
Kunihiko Hayashi (1):
net: phy: Fix the issue that netif always links up after resuming
Larry Finger (1):
rtlwifi: Fix leak of skb when processing C2H_BT_INFO
Lepton Wu (1):
VSOCK: bind to random port for VMADDR_PORT_ANY
Lorenzo Bianconi (3):
mt76: fix potential NULL pointer dereference in mt76_stop_tx_queues
mt76: add entry in MAINTAINERS file
gro_cell: add napi_disable in gro_cells_destroy
Marcin Wojtas (1):
net: mvneta: fix operation for 64K PAGE_SIZE
Mario Limonciello (1):
r8152: Add support for MAC address pass through on RTL8153-BND
Masahiro Yamada (1):
bpf: promote bpf_perf_event.h to mandatory UAPI header
Mathias Krause (1):
xfrm_user: fix freeing of xfrm states on acquire
Michael Chan (1):
bnxt_en: Fix ethtool self-test loopback.
Michal Kubecek (1):
net: ipv4: do not handle duplicate fragments as overlapping
MichaÅ MirosÅaw (2):
i40e: fix VLAN.TCI == 0 RX HW offload
i40e: DRY rx_ptype handling code
Mikhael Goikhman (1):
net/mlx5e: Remove unused UDP GSO remaining counter
Moshe Shemesh (1):
net/mlx5e: RX, Verify MPWQE stride size is in range
Myungho Jung (1):
net/smc: fix TCP fallback socket release
Nathan Chancellor (1):
drivers: net: xgene: Remove unnecessary forward declarations
Or Gerlitz (4):
net/mlx5e: Err if asked to mirror a goto chain tc eswitch rule
net/mlx5e: Avoid overriding the user provided priority for offloaded tc rules
net/mlx5e: Properly initialize flow attributes for slow path eswitch rule deletion
net/mlx5e: Avoid encap flows deletion attempt the 1st time a neigh is resolved
Pan Bian (1):
netfilter: ipset: do not call ipset_nest_end after nla_nest_cancel
Petr Machata (4):
vxlan: Unmark offloaded bit on replaced FDB entries
vxlan: Fix error path in __vxlan_dev_create()
vxlan: changelink: Fix handling of default remotes
selftests: net: Add test_vxlan_fdb_changelink.sh
Pieter Jansen van Vuuren (1):
nfp: flower: ensure TCP flags can be placed in IPv6 frame
Rakesh Pillai (1):
ath10k: skip sending quiet mode cmd for WCN3990
Robert P. J. Day (1):
mod_devicetable.h: correct kerneldoc typo, "PHYSID2" -> "MII_PHYSID2"
Roi Dayan (1):
net/sched: cls_flower: Remove old entries from rhashtable
Ross Lagerwall (1):
ixgbe: Fix race when the VF driver does a reset
Sandipan Das (1):
bpf: powerpc: fix broken uapi for BPF_PROG_TYPE_PERF_EVENT
Sara Sharon (2):
mac80211: fix a kernel panic when TXing after TXQ teardown
mac80211: free skb fraglist before freeing the skb
Shalom Toledo (1):
mlxsw: core: Increase timeout during firmware flash process
Stanislav Fomichev (4):
selftests/bpf: use thoff instead of nhoff in BPF flow dissector
net/flow_dissector: correctly cap nhoff and thoff in case of BPF
selftests/bpf: add missing pointer dereference for map stacktrace fixup
selftests/bpf: use proper type when passing prog_type
Stefan Assmann (1):
i40e: fix mac filter delete when setting mac address
Steffen Klassert (1):
xfrm: Fix NULL pointer dereference in xfrm_input when skb_dst_force clears the dst_entry.
Sudarsana Reddy Kalluru (5):
bnx2x: Clear fip MAC when fcoe offload support is disabled
bnx2x: Remove configured vlans as part of unload sequence.
bnx2x: Enable PTP only on the PF that initializes the port
bnx2x: Send update-svid ramrod with retry/poll flags enabled
qed: Fix command number mismatch between driver and the mfw
Taehee Yoo (2):
netfilter: nf_tables: fix suspicious RCU usage in nft_chain_stats_replace()
netfilter: nf_conncount: use rb_link_node_rcu() instead of rb_link_node()
Tal Gilboa (1):
net/mlx5e: Cancel DIM work on close SQ
Tariq Toukan (1):
net/mlx5e: RX, Fix wrong early return in receive queue poll
Thomas Falcon (2):
ibmvnic: Convert reset work item mutex to spin lock
ibmvnic: Fix non-atomic memory allocation in IRQ context
Vivien Didelot (2):
MAINTAINERS: change my email address
net: dsa: mv88e6xxx: set ethtool regs version
Vu Pham (1):
net/mlx5: E-Switch, Fix fdb cap bits swap
Wei Yongjun (1):
xfrm: Fix error return code in xfrm_output_one()
Willem de Bruijn (2):
ipv6: add missing tx timestamping on IPPROTO_RAW
net: add missing SOF_TIMESTAMPING_OPT_ID support
Xin Long (1):
sctp: initialize sin6_flowinfo for ipv6 addrs in sctp_inet6addr_event
Yonglong Liu (10):
net: hns: Incorrect offset address used for some registers.
net: hns: All ports can not work when insmod hns ko after rmmod.
net: hns: Some registers use wrong address according to the datasheet.
net: hns: Fixed bug that netdev was opened twice
net: hns: Clean rx fbd when ae stopped.
net: hns: Free irq when exit from abnormal branch
net: hns: Avoid net reset caused by pause frames storm
net: hns: Fix ntuple-filters status error.
net: hns: Add mac pcs config when enable|disable mac
net: hns: Fix ping failed when use net bridge and send multicast
YueHaibing (1):
ieee802154: ca8210: fix possible u8 overflow in ca8210_rx_done
Yuval Avnery (1):
net/mlx5: Typo fix in del_sw_hw_rule
shamir rabinovitch (2):
net/rds: fix warn in rds_message_alloc_sgs
net/rds: remove user triggered WARN_ON in rds_sendmsg
wenxu (1):
iptunnel: make TUNNEL_FLAGS available in uapi
MAINTAINERS | 11 +-
arch/powerpc/include/asm/perf_event.h | 2 +
arch/powerpc/include/uapi/asm/Kbuild | 1 -
arch/powerpc/include/uapi/asm/bpf_perf_event.h | 9 ++
drivers/crypto/chelsio/chtls/chtls.h | 7 ++
drivers/crypto/chelsio/chtls/chtls_cm.c | 78 +++++++++-----
drivers/crypto/chelsio/chtls/chtls_io.c | 20 ++--
drivers/crypto/chelsio/chtls/chtls_main.c | 105 +++++++++++--------
drivers/net/dsa/mv88e6xxx/chip.c | 2 +-
drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 3 -
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 2 +
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 1 +
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 70 +++++++++----
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h | 4 +-
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 5 +-
drivers/net/ethernet/cadence/macb_main.c | 48 +++++++--
drivers/net/ethernet/cadence/macb_ptp.c | 2 +
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 3 +
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 3 +
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 14 ++-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 15 +++
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 503 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 13 +--
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 43 +++++++-
drivers/net/ethernet/ibm/ibmvnic.c | 18 ++--
drivers/net/ethernet/ibm/ibmvnic.h | 2 +-
drivers/net/ethernet/intel/i40e/i40e_main.c | 14 +--
drivers/net/ethernet/intel/i40e/i40e_txrx.c | 43 +++-----
drivers/net/ethernet/intel/i40e/i40e_txrx_common.h | 5 +-
drivers/net/ethernet/intel/i40e/i40e_xsk.c | 12 +--
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 11 +-
drivers/net/ethernet/marvell/mvneta.c | 6 +-
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 16 +--
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c | 11 +-
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 6 ++
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 9 +-
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 10 +-
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c | 2 -
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h | 2 -
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 36 ++++---
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 2 +-
drivers/net/ethernet/mellanox/mlxsw/core.c | 19 +++-
drivers/net/ethernet/mellanox/mlxsw/core.h | 3 +
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 8 +-
drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c | 2 +-
drivers/net/ethernet/mellanox/mlxsw/trap.h | 1 +
drivers/net/ethernet/microchip/lan743x_main.c | 11 +-
drivers/net/ethernet/neterion/vxge/vxge-config.c | 2 +-
drivers/net/ethernet/netronome/nfp/flower/offload.c | 28 ++++--
drivers/net/ethernet/nuvoton/w90p910_ether.c | 2 +-
drivers/net/ethernet/qlogic/qed/qed_hsi.h | 3 +-
drivers/net/ethernet/qlogic/qed/qed_ll2.c | 1 +
drivers/net/ethernet/realtek/r8169.c | 2 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 +
drivers/net/ieee802154/ca8210.c | 4 +-
drivers/net/ieee802154/mac802154_hwsim.c | 4 +-
drivers/net/phy/phy_device.c | 7 +-
drivers/net/usb/hso.c | 18 +++-
drivers/net/usb/lan78xx.c | 4 +
drivers/net/usb/qmi_wwan.c | 2 +
drivers/net/usb/r8152.c | 33 ++++--
drivers/net/vxlan.c | 21 ++--
drivers/net/wireless/ath/ath10k/core.c | 28 ++++++
drivers/net/wireless/ath/ath10k/debug.c | 5 +-
drivers/net/wireless/ath/ath10k/thermal.c | 9 ++
drivers/net/wireless/ath/ath10k/wmi-tlv.h | 3 +
drivers/net/wireless/ath/ath10k/wmi.h | 1 +
drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 9 ++
drivers/net/wireless/marvell/mwifiex/11n.c | 5 +-
drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c | 96 +++++++++---------
drivers/net/wireless/marvell/mwifiex/uap_txrx.c | 3 -
drivers/net/wireless/mediatek/mt76/tx.c | 7 +-
drivers/net/wireless/realtek/rtlwifi/base.c | 1 +
drivers/net/xen-netfront.c | 2 +-
drivers/vhost/net.c | 8 +-
drivers/vhost/vhost.c | 23 ++++-
include/linux/filter.h | 2 +-
include/linux/mlx5/mlx5_ifc.h | 10 +-
include/linux/mod_devicetable.h | 2 +-
include/linux/netfilter/nfnetlink.h | 12 ---
include/net/ip_tunnels.h | 19 ----
include/net/sock.h | 25 ++++-
include/net/tls.h | 6 ++
include/net/xfrm.h | 1 +
include/uapi/asm-generic/Kbuild.asm | 1 +
include/uapi/linux/if_tunnel.h | 20 ++++
include/uapi/linux/in.h | 10 +-
include/uapi/linux/net_tstamp.h | 4 +-
include/uapi/linux/netlink.h | 2 +-
kernel/bpf/core.c | 21 ++--
kernel/bpf/verifier.c | 13 ++-
net/can/raw.c | 2 +-
net/core/flow_dissector.c | 6 +-
net/core/gro_cells.c | 1 +
net/core/neighbour.c | 7 +-
net/core/sysctl_net_core.c | 20 +++-
net/ipv4/devinet.c | 5 +-
net/ipv4/ip_forward.c | 1 +
net/ipv4/ip_fragment.c | 18 ++--
net/ipv4/ipconfig.c | 2 +
net/ipv4/ipmr.c | 4 +
net/ipv4/raw.c | 2 +-
net/ipv6/ip6_output.c | 1 +
net/ipv6/ip6_udp_tunnel.c | 3 +-
net/ipv6/ip6mr.c | 4 +
net/ipv6/raw.c | 2 +
net/mac80211/iface.c | 3 +
net/mac80211/main.c | 2 -
net/mac80211/status.c | 5 +
net/netfilter/ipset/ip_set_list_set.c | 2 +-
net/netfilter/nf_conncount.c | 2 +-
net/netfilter/nf_conntrack_seqadj.c | 7 +-
net/netfilter/nf_nat_core.c | 3 +-
net/netfilter/nf_tables_api.c | 21 ++--
net/netfilter/nf_tables_core.c | 2 +-
net/netlink/af_netlink.c | 4 +-
net/packet/af_packet.c | 6 +-
net/rds/message.c | 24 +++--
net/rds/rdma.c | 75 +++++++-------
net/rds/rds.h | 23 ++++-
net/rds/send.c | 61 +++++++++--
net/sched/cls_flower.c | 7 +-
net/sctp/ipv6.c | 1 +
net/smc/af_smc.c | 14 ++-
net/smc/smc.h | 4 +
net/tipc/socket.c | 40 +++++---
net/tipc/udp_media.c | 9 +-
net/tls/tls_main.c | 44 ++++----
net/vmw_vsock/af_vsock.c | 7 +-
net/vmw_vsock/vmci_transport.c | 67 ++++++++----
net/wireless/nl80211.c | 4 +-
net/xfrm/xfrm_input.c | 7 +-
net/xfrm/xfrm_output.c | 1 +
net/xfrm/xfrm_state.c | 10 +-
net/xfrm/xfrm_user.c | 4 +-
tools/include/uapi/linux/netlink.h | 2 +-
tools/testing/selftests/bpf/bpf_flow.c | 36 ++++---
tools/testing/selftests/bpf/test_verifier.c | 38 ++++++-
tools/testing/selftests/net/Makefile | 1 +
tools/testing/selftests/net/test_vxlan_fdb_changelink.sh | 29 ++++++
140 files changed, 1576 insertions(+), 760 deletions(-)
create mode 100644 arch/powerpc/include/uapi/asm/bpf_perf_event.h
create mode 100755 tools/testing/selftests/net/test_vxlan_fdb_changelink.sh