[GIT] Networking

From: David Miller
Date: Fri Dec 08 2017 - 15:05:54 EST



1) CAN fixes from Martin Kelly (cancel URBs properly in all the CAN
usb drivers).

2) Revert returning -EEXIST from __dev_alloc_name() as this propagates
to userspace and broke some apps. From Johannes Berg.

3) Fix conn memory leaks and crashes in TIPC, from Jon Malloc and Cong
Wang.

4) Gianfar MAC can't do EEE so don't advertise it by default, from
Claudiu Manoil.

5) Relax strict netlink attribute validation, but emit a warning.
From David Ahern.

6) Fix regression in checksum offload of thunderx driver, from Florian
Westphal.

7) Fix UAPI bpf issues on s390, from Hendrik Brueckner.

8) New card support in iwlwifi, from Ihab Zhaika.

9) BBR congestion control bug fixes from Neal Cardwell.

10) Fix port stats in nfp driver, from Pieter Jansen van Vuuren.

11) Fix leaks in qualcomm rmnet, from Subash Abhinov Kasiviswanathan.

12) Fix DMA API handling in sh_eth driver, from Thomas Petazzoni.

13) Fix spurious netpoll warnings in bnxt_en, from Calvin Owens.

Please pull, thanks a lot!

The following changes since commit 2391f0b4808e3d5af348324d69f5f45c56a26836:

Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost (2017-12-04 11:32:02 -0800)

are available in the Git repository at:

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

for you to fetch changes up to fd29117aeb905aaacdf4ff5afbc7787fa50e16e4:

Merge tag 'linux-can-fixes-for-4.15-20171208' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (2017-12-08 14:53:54 -0500)

----------------------------------------------------------------
Al Viro (3):
fix kcm_clone()
socketpair(): allocate descriptors first
make sock_alloc_file() do sock_release() on failures

Andrew Lunn (2):
net: dsa: mv88e6xxx: Fix interrupt masking on removal
net: dsa: mv88e6xxx: Unregister MDIO bus on error path

Andy Shevchenko (1):
brcmfmac: Avoid build error with make W=1

Antoine Tenart (1):
net: mvpp2: fix the RSS table entry offset

Arend Van Spriel (1):
brcmfmac: change driver unbind order of the sdio function devices

Bert Kenward (1):
sfc: pass valid pointers from efx_enqueue_unwind

Bjørn Mork (1):
usbnet: fix alignment for frames with no ethernet header

Branislav Radocaj (1):
net: ethernet: arc: fix error handling in emac_rockchip_probe

Calvin Owens (1):
bnxt_en: Fix sources of spurious netpoll warnings

Chris Dion (1):
net_sched: use macvlan real dev trans_start in dev_trans_start()

Claudiu Manoil (1):
gianfar: Disable EEE autoneg by default

Cong Wang (1):
tipc: fix a null pointer deref on error path

Daniel Borkmann (1):
Merge branch 'bpf-fix-broken-uapi-for-pt-regs'

David Ahern (1):
netlink: Relax attr validation for fixed length types

David S. Miller (9):
Merge branch 'RED-qdisc-fixes'
Merge branch 'sh_eth-dma-mapping-fixes'
Merge branch 'rmnet-Fix-leaks-in-failure-scenarios'
Merge branch 'mv88e6xxx-error-patch-fixes'
Merge git://git.kernel.org/.../bpf/bpf
Merge branch 'tcp-bbr-sampling-fixes'
Merge branch 'tcp-RACK-loss-recovery-bug-fixes'
Merge tag 'wireless-drivers-for-davem-2017-12-08' of git://git.kernel.org/.../kvalo/wireless-drivers
Merge tag 'linux-can-fixes-for-4.15-20171208' of git://git.kernel.org/.../mkl/linux-can

David Spinadel (1):
iwlwifi: mvm: enable RX offloading with TKIP and WEP

Emmanuel Grumbach (3):
iwlwifi: mvm: don't use transmit queue hang detection when it is not possible
iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type
iwlwifi: mvm: fix packet injection

Eric Dumazet (3):
Revert "tcp: must block bh in __inet_twsk_hashdance()"
net: remove hlist_nulls_add_tail_rcu()
tcp: use current time in tcp_rcv_space_adjust()

Florian Westphal (1):
net: thunderx: Fix TCP/UDP checksum offload for IPv4 pkts

Hendrik Brueckner (6):
bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type
s390/bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type
arm64/bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type
s390/uapi: correct whitespace & coding style in asm/ptrace.h
selftests/bpf: sync kernel headers and introduce arch support in Makefile
perf s390: add regs_query_register_offset()

Håkon Bugge (1):
rds: Fix NULL pointer dereference in __rds_rdma_map

Ihab Zhaika (1):
iwlwifi: add new cards for 9260 and 22000 series

Joe Perches (1):
xen-netback: Fix logging message with spurious period after newline

Johannes Berg (2):
iwlwifi: mvm: flush queue before deleting ROC
Revert "net: core: maybe return -EEXIST in __dev_alloc_name"

Jon Maloy (1):
tipc: fix memory leak in tipc_accept_from_sock()

Kalle Valo (2):
Merge tag 'iwlwifi-for-kalle-2017-11-28' of git://git.kernel.org/.../iwlwifi/iwlwifi-fixes
Merge tag 'iwlwifi-for-kalle-2017-12-05' of git://git.kernel.org/.../iwlwifi/iwlwifi-fixes

Martin Kelly (5):
can: mcba_usb: cancel urb on -EPROTO
can: ems_usb: cancel urb on -EPIPE and -EPROTO
can: esd_usb2: cancel urb on -EPIPE and -EPROTO
can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
can: usb_8dev: cancel urb on -EPIPE and -EPROTO

Mohamed Ghannam (1):
dccp: CVE-2017-8824: use-after-free in DCCP code

Neal Cardwell (3):
tcp_bbr: record "full bw reached" decision in new full_bw_reached bit
tcp_bbr: reset full pipe detection on loss recovery undo
tcp_bbr: reset long-term bandwidth sampling on loss recovery undo

Nikita V. Shirokov (1):
adding missing rcu_read_unlock in ipxip6_rcv

Nogah Frankel (2):
net_sched: red: Avoid devision by zero
net_sched: red: Avoid illegal values

Pieter Jansen van Vuuren (1):
nfp: fix port stats for mac representors

Pravin Shedge (1):
drivers: net: dsa: remove duplicate includes

Sara Sharon (3):
iwlwifi: pcie: fix erroneous "Read failed message"
iwlwifi: fix access to prph when transport is stopped
iwlwifi: mvm: mark MIC stripped MPDUs

Shaul Triebitz (1):
iwlwifi: mvm: set correct chains in Rx status

Stefan Hajnoczi (1):
VSOCK: fix outdated sk_state value in hvs_release()

Stephane Grosjean (1):
can: peak/pcie_fd: fix potential bug in restarting tx queue

Subash Abhinov Kasiviswanathan (2):
net: qualcomm: rmnet: Fix leak on transmit failure
net: qualcomm: rmnet: Fix leak in device creation failure

Thomas Petazzoni (2):
net: sh_eth: use correct "struct device" when calling DMA mapping functions
net: sh_eth: don't use NULL as "struct device" for the DMA mapping API

Tobias Jordan (1):
net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case

Yousuk Seung (1):
tcp: invalidate rate samples during SACK reneging

Yuchung Cheng (4):
tcp: correctly test congestion state in RACK
tcp: always evaluate losses in RACK upon undo
tcp: fix off-by-one bug in RACK
tcp: evaluate packet losses upon RTT change

Zumeng Chen (1):
gianfar: fix a flooded alignment reports because of padding issue.

arch/alpha/include/uapi/asm/Kbuild | 2 +
arch/arc/include/uapi/asm/Kbuild | 1 +
arch/arm/include/uapi/asm/Kbuild | 1 +
arch/arm64/include/asm/perf_event.h | 2 +
arch/arm64/include/uapi/asm/bpf_perf_event.h | 9 +++
arch/blackfin/include/uapi/asm/Kbuild | 1 +
arch/c6x/include/uapi/asm/Kbuild | 1 +
arch/cris/include/uapi/asm/Kbuild | 1 +
arch/frv/include/uapi/asm/Kbuild | 2 +
arch/h8300/include/uapi/asm/Kbuild | 1 +
arch/hexagon/include/uapi/asm/Kbuild | 1 +
arch/ia64/include/uapi/asm/Kbuild | 1 +
arch/m32r/include/uapi/asm/Kbuild | 1 +
arch/m68k/include/uapi/asm/Kbuild | 1 +
arch/metag/include/uapi/asm/Kbuild | 1 +
arch/microblaze/include/uapi/asm/Kbuild | 1 +
arch/mips/include/uapi/asm/Kbuild | 1 +
arch/mn10300/include/uapi/asm/Kbuild | 1 +
arch/nios2/include/uapi/asm/Kbuild | 1 +
arch/openrisc/include/uapi/asm/Kbuild | 1 +
arch/parisc/include/uapi/asm/Kbuild | 1 +
arch/powerpc/include/uapi/asm/Kbuild | 1 +
arch/riscv/include/uapi/asm/Kbuild | 1 +
arch/s390/include/asm/perf_event.h | 1 +
arch/s390/include/asm/ptrace.h | 11 ++-
arch/s390/include/uapi/asm/bpf_perf_event.h | 9 +++
arch/s390/include/uapi/asm/ptrace.h | 125 ++++++++++++++--------------
arch/score/include/uapi/asm/Kbuild | 1 +
arch/sh/include/uapi/asm/Kbuild | 1 +
arch/sparc/include/uapi/asm/Kbuild | 1 +
arch/tile/include/uapi/asm/Kbuild | 1 +
arch/unicore32/include/uapi/asm/Kbuild | 1 +
arch/x86/include/uapi/asm/Kbuild | 1 +
arch/xtensa/include/uapi/asm/Kbuild | 1 +
drivers/net/can/peak_canfd/peak_canfd.c | 9 +--
drivers/net/can/usb/ems_usb.c | 2 +
drivers/net/can/usb/esd_usb2.c | 2 +
drivers/net/can/usb/kvaser_usb.c | 2 +
drivers/net/can/usb/mcba_usb.c | 1 +
drivers/net/can/usb/usb_8dev.c | 2 +
drivers/net/dsa/bcm_sf2.c | 1 -
drivers/net/dsa/mv88e6xxx/chip.c | 34 ++++----
drivers/net/ethernet/arc/emac_rockchip.c | 7 +-
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4 +-
drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 2 +
drivers/net/ethernet/freescale/gianfar.c | 11 ++-
drivers/net/ethernet/marvell/mvmdio.c | 3 +-
drivers/net/ethernet/marvell/mvpp2.c | 2 +-
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c | 15 ++--
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c | 1 +
drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c | 8 +-
drivers/net/ethernet/renesas/sh_eth.c | 31 +++----
drivers/net/ethernet/sfc/tx.c | 5 +-
drivers/net/usb/qmi_wwan.c | 2 +
drivers/net/usb/usbnet.c | 5 +-
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 4 +-
drivers/net/wireless/intel/iwlwifi/fw/api/txq.h | 4 +
drivers/net/wireless/intel/iwlwifi/fw/dbg.h | 2 -
drivers/net/wireless/intel/iwlwifi/iwl-trans.h | 4 +-
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 2 +-
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 3 +
drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 1 +
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 18 ++++-
drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 53 +++++++++---
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c | 24 +++++-
drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 3 +-
drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 13 ++-
drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 2 +
drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c | 6 ++
drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 10 +++
drivers/net/xen-netback/interface.c | 2 +-
drivers/staging/lustre/lnet/lnet/lib-socket.c | 8 +-
include/linux/perf_event.h | 6 +-
include/linux/rculist_nulls.h | 38 ---------
include/linux/tcp.h | 3 +-
include/linux/usb/usbnet.h | 1 +
include/net/red.h | 13 ++-
include/net/sock.h | 6 +-
include/net/tcp.h | 2 +-
include/uapi/asm-generic/bpf_perf_event.h | 9 +++
include/uapi/linux/bpf_perf_event.h | 5 +-
kernel/events/core.c | 2 +-
lib/nlattr.c | 22 +++--
net/9p/trans_fd.c | 1 -
net/core/dev.c | 2 +-
net/dccp/proto.c | 5 ++
net/ipv4/inet_timewait_sock.c | 6 +-
net/ipv4/tcp.c | 1 +
net/ipv4/tcp_bbr.c | 12 ++-
net/ipv4/tcp_input.c | 12 ++-
net/ipv4/tcp_rate.c | 10 ++-
net/ipv4/tcp_recovery.c | 28 +++----
net/ipv6/ip6_tunnel.c | 2 +-
net/kcm/kcmsock.c | 68 ++++++----------
net/rds/rdma.c | 2 +-
net/sched/sch_choke.c | 3 +
net/sched/sch_generic.c | 3 +
net/sched/sch_gred.c | 3 +
net/sched/sch_red.c | 2 +
net/sched/sch_sfq.c | 3 +
net/sctp/socket.c | 1 -
net/socket.c | 110 ++++++++++---------------
net/tipc/server.c | 3 +-
net/vmw_vsock/hyperv_transport.c | 2 +-
tools/arch/arm64/include/uapi/asm/bpf_perf_event.h | 9 +++
tools/arch/s390/include/uapi/asm/bpf_perf_event.h | 9 +++
tools/arch/s390/include/uapi/asm/ptrace.h | 457 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/include/uapi/asm-generic/bpf_perf_event.h | 9 +++
tools/include/uapi/linux/bpf_perf_event.h | 6 +-
tools/perf/arch/s390/Makefile | 1 +
tools/perf/arch/s390/util/dwarf-regs.c | 32 +++++++-
tools/perf/check-headers.sh | 1 +
tools/testing/selftests/bpf/Makefile | 14 +++-
113 files changed, 1052 insertions(+), 367 deletions(-)
create mode 100644 arch/arm64/include/uapi/asm/bpf_perf_event.h
create mode 100644 arch/s390/include/uapi/asm/bpf_perf_event.h
create mode 100644 include/uapi/asm-generic/bpf_perf_event.h
create mode 100644 tools/arch/arm64/include/uapi/asm/bpf_perf_event.h
create mode 100644 tools/arch/s390/include/uapi/asm/bpf_perf_event.h
create mode 100644 tools/arch/s390/include/uapi/asm/ptrace.h
create mode 100644 tools/include/uapi/asm-generic/bpf_perf_event.h