[GIT] Networking

From: David Miller
Date: Tue Jan 16 2018 - 15:34:37 EST



1) Two read past end of buffer fixes in AF_KEY, from Eric Biggers.

2) Memory leak in key_notify_policy(), from Steffen Klassert.

3) Fix overflow with bpf arrays, from Daniel Borkmann.

4) Fix RDMA regression with mlx5 due to mlx5 no longer using
pci_irq_get_affinity(), from Saeed Mahameed.

5) Missing RCU read locking in nl80211_send_iface() when it calls
ieee80211_bss_get_ie(), from Dominik Brodowski.

6) cfg80211 should check dev_set_name()'s return value, from Johannes
Berg.

7) Missing module license tag in 9p protocol, from Stephen Hemminger.

8) Fix crash due to too small MTU in udp ipv6 sendmsg, from Mike
Maloney.

9) Fix endless loop in netlink extack code, from David Ahern.

10) TLS socket layer sets inverted error codes, resulting in an
endless loop. From Robert Hering.

11) Revert openvswitch erspan tunnel support, it's mis-designed and
we need to kill it before it goes into a real release. From
William Tu.

12) Fix lan78xx failures in full speed USB mode, from Yuiko Oshino.

Please pull, thanks a lot!

The following changes since commit 1545dec46db3858bbce84c2065b579e2925706ab:

Merge tag 'ceph-for-4.15-rc8' of git://github.com/ceph/ceph-client (2018-01-11 16:57:32 -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 81d947e2b8dd2394586c3eaffdd2357797d3bf59:

net, sched: fix panic when updating miniq {b,q}stats (2018-01-16 15:02:36 -0500)

----------------------------------------------------------------
Alaa Hleihel (1):
net/mlx5: Fix memory leak in bad flow of mlx5_alloc_irq_vectors

Arnd Bergmann (1):
net: cs89x0: add MODULE_LICENSE

Benjamin Beichler (1):
mac80211_hwsim: add workqueue to wait for deferred radio deletion on mod unload

Colin Ian King (1):
bpf: fix spelling mistake: "obusing" -> "abusing"

Cong Wang (1):
tipc: fix a memory leak in tipc_nl_node_get_link()

Daniel Borkmann (3):
bpf: arsh is not supported in 32 bit alu thus reject it
bpf, array: fix overflow in max_entries and undefined behavior in index_mask
net, sched: fix panic when updating miniq {b,q}stats

David Ahern (1):
netlink: extack needs to be reset each time through loop

David S. Miller (5):
Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec
Merge tag 'mlx5-fixes-2018-01-11' of git://git.kernel.org/.../saeed/linux
Merge git://git.kernel.org/.../bpf/bpf
Merge branch 'ipv4-Make-neigh-lookup-keys-for-loopback-point-to-point-devices-be-INADDR_ANY'
Merge tag 'mac80211-for-davem-2018-01-15' of git://git.kernel.org/.../jberg/mac80211

Dominik Brodowski (1):
nl80211: take RCU read lock when calling ieee80211_bss_get_ie()

Eran Ben Elisha (2):
{net,ib}/mlx5: Don't disable local loopback multicast traffic when needed
net/mlx5: Fix mlx5_get_uars_page to return error code

Eric Biggers (2):
af_key: fix buffer overread in verify_address_len()
af_key: fix buffer overread in parse_exthdrs()

Eric Dumazet (1):
ipv6: ip6_make_skb() needs to clear cork.base.dst

Feras Daoud (2):
net/mlx5: Update ptp_clock_event foreach PPS event
net/mlx5e: Remove timestamp set from netdevice open flow

Florian Westphal (2):
xfrm: skip policies marked as dead while rehashing
xfrm: don't call xfrm_policy_cache_flush while holding spinlock

Gal Pressman (2):
net/mlx5e: Keep updating ethtool statistics when the interface is down
net/mlx5e: Don't override netdev features field unless in error flow

Guillaume Nault (1):
ppp: unlock all_ppp_mutex before registering device

Herbert Xu (3):
xfrm: Forbid state updates from changing encap type
xfrm: Use __skb_queue_tail in xfrm_trans_queue
xfrm: Return error on unknown encap_type in init_state

Jakub Kicinski (1):
nfp: use the correct index for link speed table

Jim Westfall (2):
net: Allow neigh contructor functions ability to modify the primary_key
ipv4: Make neigh lookup keys for loopback/point-to-point devices be INADDR_ANY

Johannes Berg (4):
cfg80211: fully initialize old channel for event
mac80211_hwsim: validate number of different channels
cfg80211: check dev_set_name() return value
netlink: extack: avoid parenthesized string constant warning

Lorenzo Colitti (1):
net: ipv4: Make "ip route get" match iif lo rules again.

Maor Gottlieb (1):
net/mlx5: Fix error handling in load one

Marcelo Ricardo Leitner (1):
sctp: avoid compiler warning on implicit fallthru

Michael S. Tsirkin (1):
ptr_ring: document usage around __ptr_ring_peek

Mike Maloney (1):
ipv6: fix udpv6 sendmsg crash caused by too small MTU

Roland Dreier (1):
qed: Fix potential use-after-free in qed_spq_post()

Sabrina Dubroca (1):
xfrm: fix rcu usage in xfrm_get_type_offload

Saeed Mahameed (1):
net/mlx5: Fix get vector affinity helper function

Sergei Shtylyov (1):
sh_eth: fix dumping ARSTR

Steffen Klassert (3):
esp: Fix GRO when the headers not fully in the linear part of the skb.
af_key: Fix memory leak in key_notify_policy.
xfrm: Fix a race in the xdst pcpu cache.

Stephen Hemminger (1):
9p: add missing module license for xen transport

Tariq Toukan (2):
net/mlx5e: Add error print in ETS init
net/mlx5e: Check support before TC swap in ETS init

Thomas Falcon (1):
ibmvnic: Fix pending MAC address changes

William Tu (1):
Revert "openvswitch: Add erspan tunnel support."

Xin Long (3):
sctp: reinit stream if stream outcnt has been change by sinit in sendmsg
sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf
sctp: do not allow the v4 socket to bind a v4mapped v6 address

Yuiko Oshino (1):
lan78xx: Fix failure in USB Full Speed

r.hering@xxxxxx (1):
net/tls: Fix inverted error codes to avoid endless loop

drivers/infiniband/hw/mlx5/main.c | 11 +++++++----
drivers/net/ethernet/cirrus/cs89x0.c | 4 ++++
drivers/net/ethernet/ibm/ibmvnic.c | 13 +++++++------
drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c | 16 +++++++++++-----
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c | 3 +--
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 48 ++++++++++++++++++++++++++++--------------------
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 2 ++
drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c | 27 ++++++++++++++++++---------
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c | 3 ++-
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c | 6 +++++-
drivers/net/ethernet/mellanox/mlx5/core/main.c | 28 +++++++++++++++++-----------
drivers/net/ethernet/mellanox/mlx5/core/uar.c | 14 ++++++--------
drivers/net/ethernet/mellanox/mlx5/core/vport.c | 22 ++++++++++++++++------
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c | 2 +-
drivers/net/ethernet/qlogic/qed/qed_spq.c | 8 +++++++-
drivers/net/ethernet/renesas/sh_eth.c | 2 +-
drivers/net/ppp/ppp_generic.c | 5 +++--
drivers/net/usb/lan78xx.c | 1 +
drivers/net/wireless/mac80211_hwsim.c | 17 +++++++++++++++--
include/linux/mlx5/driver.h | 19 ++++++++++++++++++-
include/linux/mlx5/mlx5_ifc.h | 5 +++--
include/linux/netlink.h | 4 ++--
include/linux/ptr_ring.h | 14 ++++++++++----
include/net/arp.h | 3 +++
include/net/cfg80211.h | 2 ++
include/net/sch_generic.h | 2 ++
include/net/tls.h | 2 +-
include/uapi/linux/openvswitch.h | 1 -
kernel/bpf/arraymap.c | 18 +++++++++++++++---
kernel/bpf/verifier.c | 7 ++++++-
net/9p/trans_xen.c | 4 ++++
net/core/neighbour.c | 4 ++--
net/ipv4/arp.c | 7 ++++++-
net/ipv4/esp4.c | 1 +
net/ipv4/esp4_offload.c | 3 ++-
net/ipv4/route.c | 1 +
net/ipv6/esp6.c | 3 +--
net/ipv6/esp6_offload.c | 3 ++-
net/ipv6/ip6_output.c | 7 +++++--
net/key/af_key.c | 12 +++++++++++-
net/netlink/af_netlink.c | 3 ++-
net/openvswitch/flow_netlink.c | 51 +--------------------------------------------------
net/sched/sch_api.c | 15 +--------------
net/sched/sch_generic.c | 18 +++++++++++++++++-
net/sched/sch_ingress.c | 19 ++++---------------
net/sctp/ipv6.c | 1 +
net/sctp/outqueue.c | 4 ++--
net/sctp/socket.c | 40 ++++++++++++++++++++--------------------
net/tipc/node.c | 26 ++++++++++++++------------
net/tls/tls_sw.c | 4 ++--
net/wireless/core.c | 8 +++++++-
net/wireless/core.h | 2 --
net/wireless/nl80211.c | 11 +++++++----
net/wireless/reg.c | 3 +--
net/xfrm/xfrm_input.c | 2 +-
net/xfrm/xfrm_policy.c | 15 +++++++++++----
net/xfrm/xfrm_state.c | 11 +++++++++--
tools/testing/selftests/bpf/test_verifier.c | 40 ++++++++++++++++++++++++++++++++++++++++
59 files changed, 390 insertions(+), 239 deletions(-)