[GIT] Networking
1) Fix some potentially uninitialized variables and use-after-free in kvaser_usb can drier, from Jimmy Assarsson. 2) Fix leaks in qed driver, from Denis Bolotin. 3) Socket leak in l2tp, from Xin Long. 4) RSS context allocation fix in bnxt_en from Michael Chan. 5) Fix cxgb4 build errors, from Ganesh Goudar. 6) Route leaks in ipv6 when removing exceptions, from Xin Long. 7) Memory leak in IDR allocation handling of act_pedit, from Davide Caratti. 8) Use-after-free of bridge vlan stats, from Nikolay Aleksandrov. 9) When MTU is locked, do not force DF bit on ipv4 tunnels. From Sabrina Dubroca. 10) When NAPI cached skb is reused, we must set it to the proper initial state which includes skb->pkt_type. From Eric Dumazet. 11) Lockdep and non-linear SKB handling fix in tipc from Jon Maloy. 12) Set RX queue properly in various tuntap receive paths, from Matthew Cover. Please pull, thanks a lot! The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) 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 8ebebcba559a1bfbaec7bbda64feb9870b9c58da: tuntap: fix multiqueue rx (2018-11-18 19:05:43 -0800) Alexander Stein (1): can: flexcan: Always use last mailbox for TX Andrew Morton (1): drivers/net/ethernet/qlogic/qed/qed_rdma.h: fix typo Aya Levin (1): net/mlx4: Fix UBSAN warning of signed integer overflow Brenda J. Butler (1): tc-testing: tdc.py: Guard against lack of returncode in executed command Christophe JAILLET (1): net: lantiq: Fix returned value in case of error in 'xrx200_probe()' David Ahern (1): ipv6: Fix PMTU updates for UDP/raw sockets in presence of VRF David Howells (1): rxrpc: Fix life check David S. Miller (7): Merge tag 'linux-can-fixes-for-4.20-20181109' of ssh://gitolite.kernel.org/.../mkl/linux-can Merge branch 'qed-Miscellaneous-bug-fixes' Merge branch 'bnxt_en-Bug-fixes' Merge branch 'mlx4-fixes' Merge tag 'batadv-net-for-davem-20181114' of git://git.open-mesh.org/linux-merge Revert "net: phy: mdio-gpio: Fix working over slow can_sleep GPIOs" Merge branch 'tdc-fixes' Davide Caratti (1): net/sched: act_pedit: fix memory leak when IDR allocation fails Denis Bolotin (3): qed: Fix PTT leak in qed_drain() qed: Fix overriding offload_tc by protocols without APP TLV qed: Fix reading wrong value in loop condition Eric Dumazet (2): net_sched: sch_fq: ensure maxrate fq parameter applies to EDT flows net-gro: reset skb->pkt_type in napi_reuse_skb() Eugeniu Rosca (1): dt-bindings: can: rcar_can: document r8a77965 support Fabrizio Castro (2): can: rcar_can: Fix erroneous registration dt-bindings: can: rcar_can: Add r8a774a1 support Ganesh Goudar (1): cxgb4: fix thermal zone build error Jack Morgenstein (1): net/mlx4_core: Zero out lkey field in SW2HW_MPT fw command Jimmy Assarsson (2): can: kvaser_usb: Fix potential uninitialized variable use can: kvaser_usb: Fix accessing freed memory in kvaser_usb_start_xmit() Jon Maloy (2): tipc: fix lockdep warning when reinitilaizing sockets tipc: don't assume linear buffer when reading ancillary data Lucas Bates (1): tc-testing: tdc.py: ignore errors when decoding stdout/stderr Lukas Wunner (1): can: hi311x: Use level-triggered interrupt Marc Kleine-Budde (5): can: flexcan: remove not needed struct flexcan_priv::tx_mb and struct flexcan_priv::tx_mb_idx can: dev: can_get_echo_skb(): factor out non sending code to __can_get_echo_skb() can: dev: __can_get_echo_skb(): replace struct can_frame by canfd_frame to access frame length can: dev: __can_get_echo_skb(): Don't crash the kernel if can_priv::echo_skb is accessed out of bounds can: dev: __can_get_echo_skb(): print error message, if trying to echo non existing skb Martin Schiller (2): net: phy: mdio-gpio: Fix working over slow can_sleep GPIOs net: phy: mdio-gpio: Fix working over slow can_sleep GPIOs Matthew Cover (1): tuntap: fix multiqueue rx Maxime Chevallier (1): net: mvneta: Don't advertise 2.5G modes Michael Chan (5): bnxt_en: Fix RSS context allocation. bnxt_en: Fix rx_l4_csum_errors counter on 57500 devices. bnxt_en: Disable RDMA support on the 57500 chips. bnxt_en: Workaround occasional TX timeout on 57500 A0. bnxt_en: Add software "missed_irqs" counter. Michal Kalderon (1): qed: Fix rdma_info structure allocation Nikolay Aleksandrov (1): net: bridge: fix vlan stats use-after-free on destruction Oleksij Rempel (4): can: rx-offload: introduce can_rx_offload_get_echo_skb() and can_rx_offload_queue_sorted() functions can: flexcan: handle tx-complete
Re: [GIT] Networking
On Sun, Oct 28, 2018 at 7:46 PM David Miller wrote: > > Please pull, thanks a lot! Pulled, Linus
[GIT] Networking
1) GRO overflow entries are not unlinked properly, resulting in list poison pointers being dereferenced. 2) Fix bridge build with ipv6 disabled, from Nikolay Aleksandrov. 3) Direct packet access and other fixes in BPF from Daniel Borkmann. 4) gred_change_table_def() gets passed the wrong pointer, a pointer to a set of unparsed attributes instead of the attribute itself. From Jakub Kicinski. 5) Allow macsec device to be brought up even if it's lowerdev is down, from Sabrina Dubroca. Please pull, thanks a lot! The following changes since commit 345671ea0f9258f410eb057b9ced9cefbbe5dc78: Merge branch 'akpm' (patches from Andrew) (2018-10-26 19:33:41 -0700) 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 747569b0a7c537d680bc94a988be6caad9960488: net: diag: document swapped src/dst in udp_dump_one. (2018-10-28 19:27:21 -0700) Alexei Starovoitov (1): Merge branch 'pkt-access-fixes' Daniel Borkmann (9): bpf: fix test suite to enable all unpriv program types bpf: disallow direct packet access for unpriv in cg_skb bpf: fix direct packet access for flow dissector progs bpf: fix cg_skb types to hint access type in may_access_direct_pkt_data bpf: fix direct packet write into pop/peek helpers bpf: fix leaking uninitialized memory on pop/peek helpers bpf: make direct packet write unclone more robust bpf: add bpf_jit_limit knob to restrict unpriv allocations bpf: fix wrong helper enablement in cgroup local storage David S. Miller (3): Merge git://git.kernel.org/.../bpf/bpf net: Properly unlink GRO packets on overflow. Merge branch 'macsec-fixes' Jakub Kicinski (1): net: sched: gred: pass the right attribute to gred_change_table_def() Lorenzo Colitti (1): net: diag: document swapped src/dst in udp_dump_one. Martin Lau (1): bpf, btf: fix a missing check bug in btf_parse Naresh Kamboju (1): selftests/bpf: add config fragments BPF_STREAM_PARSER and XDP_SOCKETS Nikolay Aleksandrov (1): net: bridge: remove ipv6 zero address check in mcast queries Rasmus Villemoes (1): ptp: drop redundant kasprintf() to create worker name Sabrina Dubroca (2): macsec: update operstate when lower device changes macsec: let the administrator set UP state even if lowerdev is down Taehee Yoo (1): bpf: devmap: fix wrong interface selection in notifier_call Documentation/sysctl/net.txt| 8 drivers/net/macsec.c| 20 +--- drivers/ptp/ptp_clock.c | 6 +- include/linux/filter.h | 1 + kernel/bpf/btf.c| 58 +- kernel/bpf/core.c | 49 ++--- kernel/bpf/devmap.c | 3 +-- kernel/bpf/helpers.c| 2 -- kernel/bpf/queue_stack_maps.c | 2 ++ kernel/bpf/verifier.c | 13 ++--- net/bridge/br_multicast.c | 3 +-- net/core/dev.c | 2 +- net/core/filter.c | 21 + net/core/sysctl_net_core.c | 10 -- net/ipv4/udp_diag.c | 1 + net/sched/sch_gred.c| 2 +- tools/testing/selftests/bpf/config | 2 ++ tools/testing/selftests/bpf/test_verifier.c | 15 +-- 18 files changed, 155 insertions(+), 63 deletions(-)
[GIT] Networking
Let's begin the holiday weekend with some networking fixes: 1) Whoops need to restrict cfg80211 wiphy names even more to 64 bytes. From Eric Biggers. 2) Fix flags being ignored when using kernel_connect() with SCTP, from Xin Long. 3) Use after free in DCCP, from Alexey Kodanev. 4) Need to check rhltable_init() return value in ipmr code, from Eric Dumazet. 5) XDP handling fixes in virtio_net from Jason Wang. 6) Missing RTA_TABLE in rtm_ipv4_policy[], from Roopa Prabhu. 7) Need to use IRQ disabling spinlocks in mlx4_qp_lookup(), from Jack Morgenstein. 8) Prevent out-of-bounds speculation using indexes in BPF, from Daniel Borkmann. 9) Fix regression added by AF_PACKET link layer cure, from Willem de Bruijn. 10) Correct ENIC dma mask, from Govindarajulu Varadarajan. 11) Missing config options for PMTU tests, from Stefano Brivio. Please pull, thanks a lot. The following changes since commit 6741c4bb389da103c0d79ad1961884628900bfe6: Merge tag 'mips_fixes_4.17_2' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/mips (2018-05-21 08:58:00 -0700) 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 eb110410b9f6477726026669f3f0c0567e8241e6: ibmvnic: Fix partial success login retries (2018-05-25 16:32:48 -0400) Alexey Kodanev (1): dccp: don't free ccid2_hc_tx_sock struct in dccp_disconnect() Anders Roxell (2): selftests: bpf: config: enable NET_SCH_INGRESS for xdp_meta.sh selftests: net: reuseport_bpf_numa: don't fail if no numa support Andrew Zaborowski (1): mac80211_hwsim: Fix radio dump for radio idx 0 Bo Chen (1): pcnet32: add an error handling path in pcnet32_probe_pci() Bob Copeland (1): mac80211: mesh: fix premature update of rc stats Colin Ian King (2): batman-adv: don't pass a NULL hard_iface to batadv_hardif_put net/mlx4: fix spelling mistake: "Inrerface" -> "Interface" and rephrase message Daniel Borkmann (1): bpf: properly enforce index mask to prevent out-of-bounds speculation David S. Miller (6): Merge tag 'mac80211-for-davem-2018-05-23' of git://git.kernel.org/.../jberg/mac80211 Merge branch 'virtio_net-mergeable-XDP' Merge tag 'wireless-drivers-for-davem-2018-05-22' of git://git.kernel.org/.../kvalo/wireless-drivers Merge tag 'mlx5-fixes-2018-05-24' of git://git.kernel.org/.../saeed/linux Merge tag 'batadv-net-for-davem-20180524' of git://git.open-mesh.org/linux-merge Merge git://git.kernel.org/.../bpf/bpf Dedy Lansky (1): nl80211: fix nlmsg allocation in cfg80211_ft_event Eran Ben Elisha (1): net/mlx5e: When RXFCS is set, add FCS data into checksum calculation Eric Biggers (2): cfg80211: further limit wiphy names to 64 bytes ppp: remove the PPPIOCDETACH ioctl Eric Dumazet (1): ipmr: properly check rhltable_init() return value Fabio Estevam (2): net: fec: ptp: Switch to SPDX identifier net: fec: Add a SPDX identifier Florian Fainelli (2): net: phy: broadcom: Fix auxiliary control register reads net: phy: broadcom: Fix bcm_write_exp() Govindarajulu Varadarajan (1): enic: set DMA mask to 47 bit Haim Dreyfuss (1): cfg80211: fix NULL pointer derference when querying regdb Jack Morgenstein (1): net/mlx4: Fix irq-unsafe spinlock usage Jason Wang (6): virtio-net: correctly redirect linearized packet virtio-net: correctly transmit XDP buff after linearizing virtio-net: correctly check num_buf during err path virtio-net: fix leaking page for gso packet during mergeable XDP tuntap: correctly set SOCKWQ_ASYNC_NOSPACE vhost: synchronize IOTLB message with dev cleanup Kalle Valo (3): MAINTAINERS: update Kalle's email address MAINTAINERS: change Kalle as ath.ko maintainer MAINTAINERS: change Kalle as wcn36xx maintainer Linus Lüssing (1): batman-adv: Fix TT sync flags for intermediate TT responses Marek Lindner (1): batman-adv: prevent TT request storms by not sending inconsistent TT TLVLs Nathan Fontenot (1): ibmvnic: Only do H_EOI for mobility events Or Gerlitz (1): net : sched: cls_api: deal with egdev path only if needed Qing Huang (1): mlx4_core: allocate ICM memory in page size chunks Rafał Miłecki (3): bcma: fix buffer size caused crash in bcma_core_mips_print_irq() Revert "ssb: Prevent build of PCI host features in module" ssb: make SSB_PCICORE_HOSTMODE depend on SSB = y Roopa Prabhu (1): net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy Shahed Shaikh (1): qed: Fix mask for physical address in ILT entry Stefano Brivio (1): selftests/net: Add missing config options for PMTU tests Sven Eckelmann (1): batman-adv: Avoid race in TT TVLV allocator helper Thomas Falcon (1): ibmvnic: Fix partial
[GIT] Networking
Sorry, no drug fuelled pull request this time. As for the commits themselves, I can't say for sure :-) 1) Fix refcounting bug for connections in on-packet scheduling mode of IPVS, from Julian Anastasov. 2) Set network header properly in AF_PACKET's packet_snd, from Willem de Bruijn. 3) Fix regressions in 3c59x by converting to generic DMA API. It was relying upon the hack that the PCI DMA interfaces would accept NULL for EISA devices. From Christoph Hellwig. 4) Remove RDMA devices before unregistering netdev in QEDE driver, from Michal Kalderon. 5) Use after free in TUN driver ptr_ring usage, from Jason Wang. 6) Properly check for missing netlink attributes in SMC_PNETID requests, from Eric Biggers. 7) Set DMA mask before performaing any DMA operations in vmxnet3 driver, from Regis Duchesne. 8) Fix mlx5 build with SMP=n, from Saeed Mahameed. 9) Classifier fixes in bcm_sf2 driver from Florian Fainelli. 10) Tuntap use after free during release, from Jason Wang. 11) Don't use stack memory in scatterlists in tls code, from Matt Mullins. 12) Not fully initialized flow key object in ipv4 routing code, from David Ahern. 13) Various packet headroom bug fixes in ip6_gre driver, from Petr Machata. 14) Remove queues from XPS maps using correct index, from Amritha Nambiar. 15) Fix use after free in sock_diag, from Eric Dumazet. Please pull, thanks a lot! The following changes since commit 4bc871984f7cb5b2dec3ae64b570cb02f9ce2227: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-05-11 14:14:46 -0700) 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 b80d0b93b991e551a32157e0d9d38fc5bc9348a7: net: ip6_gre: fix tunnel metadata device sharing. (2018-05-19 23:32:12 -0400) Amritha Nambiar (1): net: Fix a bug in removing queues from XPS map Christoph Hellwig (1): 3c59x: convert to generic DMA API Colin Ian King (1): netfilter: nf_tables: fix memory leak on error exit return Daniel Borkmann (1): bpf: fix truncated jump targets on heavy expansions David Ahern (1): net/ipv4: Initialize proto and ports in flow struct David S. Miller (7): Merge git://git.kernel.org/.../pablo/nf Merge git://git.kernel.org/.../bpf/bpf Merge branch 'dsa-bcm_sf2-CFP-fixes' Merge branch 'qed-LL2-fixes' Merge branch 'ibmvnic-Fix-bugs-and-memory-leaks' Merge branch 'ip6_gre-Fixes-in-headroom-handling' Merge git://git.kernel.org/.../bpf/bpf Davide Caratti (1): net/sched: fix refcnt leak in the error path of tcf_vlan_init() Eric Biggers (1): net/smc: check for missing nlattrs in SMC_PNETID messages Eric Dumazet (2): tcp: purge write queue in tcp_connect_init() sock_diag: fix use-after-free read in __sk_free Florian Fainelli (4): net: dsa: bcm_sf2: Fix RX_CLS_LOC_ANY overwrite for last rule net: dsa: bcm_sf2: Fix IPv6 rules and chain ID net: dsa: bcm_sf2: Fix IPv6 rule half deletion net: dsa: Do not register devlink for unused ports Florian Westphal (9): netfilter: x_tables: check name length in find_match/target, too netfilter: nf_tables: skip synchronize_rcu if transaction log is empty netfilter: nf_tables: nft_compat: fix refcount leak on xt module netfilter: core: add missing __rcu annotation netfilter: prefer nla_strlcpy for dealing with NLA_STRING attributes netfilter: x_tables: add module alias for icmp matches netfilter: nf_tables: don't assume chain stats are set when jumplabel is set netfilter: nft_compat: prepare for indirect info storage netfilter: nft_compat: fix handling of large matchinfo size Geert Uytterhoeven (2): net: 8390: ne: Fix accidentally removed RBTX4927 support sh_eth: Change platform check to CONFIG_ARCH_RENESAS Jakub Kicinski (2): nfp: bpf: allow zero-length capabilities tools: bpf: handle NULL return in bpf_prog_load_xattr() Jason Wang (2): tun: fix use after free for ptr_ring tuntap: fix use after free during release Jesper Dangaard Brouer (1): selftests/bpf: check return value of fopen in test_verifier.c John Fastabend (2): bpf: sockmap update rollback on error can incorrectly dec prog refcnt bpf: parse and verdict prog attach may race with bpf map update Jozsef Kadlecsik (1): netfilter: Fix handling simultaneous open in TCP conntrack Julian Anastasov (2): ipvs: fix refcount usage for conns in ops mode ipvs: fix stats update from local clients Keefe Liu (1): ipvlan: call netdevice notifier when master mac address changed Kumar Sanghvi (1): cxgb4: Correct ntuple mask validation for hash filters Markus Niebel (1): net: phy: micrel: add 125MHz reference clock workaround Matt Mullins (1): tls: don't use
Re: [GIT] Networking
On Fri, May 11, 2018 at 5:10 PM David Millerwrote: > I guess this is my reward for trying to break the monotony of > pull requests :-) I actually went back and checked a few older pull requests to see if this had been going on for a while and I just hadn't noticed. It just took me by surprise :^p Linus
Re: [GIT] Networking
From: Linus TorvaldsDate: Fri, 11 May 2018 14:25:59 -0700 > David, is there something you want to tell us? > > Drugs are bad, m'kay.. I guess this is my reward for trying to break the monotony of pull requests :-)
Re: [GIT] Networking
David, is there something you want to tell us? Drugs are bad, m'kay.. Linus On Fri, May 11, 2018 at 2:00 PM David Millerwrote: > "from Kevin Easton", "Thanks to Bhadram Varka", "courtesy of Gustavo A. > R. Silva", "To Eric Dumazet we are most grateful for this fix", "This > fix from YU Bo, we do appreciate", "Once again we are blessed by the > honorable Eric Dumazet with this fix", "This fix is bestowed upon us by > Andrew Tomt", "another great gift from Eric Dumazet", "to Hangbin Liu we > give thanks for this", "Paolo Abeni, he gave us this", "thank you Moshe > Shemesh", "from our good brother David Howells", "Daniel Juergens, > you're the best!", "Debabrata Benerjee saved us!", "The ship is now > water tight, thanks to Andrey Ignatov", "from Colin Ian King, man we've > got holes everywhere!", "Jiri Pirko what would we do without you!
[GIT] Networking
1) Verify lengths of keys provided by the user is AF_KEY, from Kevin Easton. 2) Add device ID for BCM89610 PHY. Thanks to Bhadram Varka. 3) Add Spectre guards to some ATM code, courtesy of Gustavo A. R. Silva. 4) Fix infinite loop in NSH protocol code. To Eric Dumazet we are most grateful for this fix. 5) Line up /proc/net/netlink headers properly. This fix from YU Bo, we do appreciate. 6) Use after free in TLS code. Once again we are blessed by the honorable Eric Dumazet with this fix. 7) Fix regression in TLS code causing stalls on partial TLS records. This fix is bestowed upon us by Andrew Tomt. 8) Deal with too small MTUs properly in LLC code, another great gift from Eric Dumazet. 9) Handle cached route flushing properly wrt. MTU locking in ipv4, to Hangbin Liu we give thanks for this. 10) Fix regression in SO_BINDTODEVIC handling wrt. UDP socket demux. Paolo Abeni, he gave us this. 11) Range check coalescing parameters in mlx4 driver, thank you Moshe Shemesh. 12) Some ipv6 ICMP error handling fixes in rxrpc, from our good brother David Howells. 13) Fix kexec on mlx5 by freeing IRQs in shutdown path. Daniel Juergens, you're the best! 14) Don't send bonding RLB updates to invalid MAC addresses. Debabrata Benerjee saved us! 15) Uh oh, we were leaking in udp_sendmsg and ping_v4_sendmsg. The ship is now water tight, thanks to Andrey Ignatov. 16) IPSEC memory leak in ixgbe from Colin Ian King, man we've got holes everywhere! 17) Fix error path in tcf_proto_create, Jiri Pirko what would we do without you! Please pull, thanks a lot! The following changes since commit 1504269814263c9676b4605a6a91e14dc6ceac21: Merge tag 'linux-kselftest-4.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest (2018-05-03 19:26:51 -1000) 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 a52956dfc503f8cc5cfe6454959b7049fddb4413: net sched actions: fix refcnt leak in skbmod (2018-05-11 16:37:03 -0400) Adi Nissim (1): net/mlx5: E-Switch, Include VF RDMA stats in vport statistics Alexander Aring (1): net: ieee802154: 6lowpan: fix frag reassembly Anders Roxell (1): selftests: net: use TEST_PROGS_EXTENDED Andre Tomt (1): net/tls: Fix connection stall on partial tls record Andrew Lunn (1): net: dsa: mv88e6xxx: Fix PHY interrupts by parameterising PHY base address Andrey Ignatov (1): ipv4: fix memory leaks in udp_sendmsg, ping_v4_sendmsg Antoine Tenart (1): net: phy: sfp: fix the BR,min computation Bhadram Varka (1): net: phy: broadcom: add support for BCM89610 PHY Christophe JAILLET (2): net/mlx4_en: Fix an error handling path in 'mlx4_en_init_netdev()' mlxsw: core: Fix an error handling path in 'mlxsw_core_bus_device_register()' Colin Ian King (5): firestream: fix spelling mistake: "reseverd" -> "reserved" sctp: fix spelling mistake: "max_retans" -> "max_retrans" net/9p: fix spelling mistake: "suspsend" -> "suspend" qed: fix spelling mistake: "taskelt" -> "tasklet" ixgbe: fix memory leak on ipsec allocation Daniel Borkmann (1): bpf: use array_index_nospec in find_prog_type Daniel Jurgens (1): net/mlx5: Free IRQs in shutdown path David Howells (5): rxrpc: Fix missing start of call timeout rxrpc: Fix error reception on AF_INET6 sockets rxrpc: Fix the min security level for kernel calls rxrpc: Add a tracepoint to log ICMP/ICMP6 and error messages rxrpc: Trace UDP transmission failure David S. Miller (13): Merge git://git.kernel.org/.../bpf/bpf Merge branch 'for-upstream' of git://git.kernel.org/.../bluetooth/bluetooth Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec Merge branch 'Aquantia-various-patches-2018-05' Merge branch 'ieee802154-for-davem-2018-05-08' of git://git.kernel.org/.../sschmidt/wpan Merge tag 'linux-can-fixes-for-4.17-20180508' of ssh://gitolite.kernel.org/.../mkl/linux-can Merge branch 'qed-rdma-fixes' Merge tag 'mac80211-for-davem-2018-05-09' of git://git.kernel.org/.../jberg/mac80211 Merge tag 'linux-can-fixes-for-4.17-20180510' of ssh://gitolite.kernel.org/.../mkl/linux-can Merge branch 'bonding-bug-fixes-and-regressions' Merge tag 'mlx5-fixes-2018-05-10' of git://git.kernel.org/.../saeed/linux Merge tag 'rxrpc-fixes-20180510' of git://git.kernel.org/.../dhowells/linux-fs Merge branch '10GbE' of git://git.kernel.org/.../jkirsher/net-queue Davide Caratti (1): tc-testing: fix tdc tests for 'bpf' action Debabrata Banerjee (2): bonding: do not allow rlb updates to invalid mac bonding: send learning packets for vlans on slave Emil Tantilov (1): ixgbe: return error on unsupported SFP module
[GIT] Networking
1) Various sockmap fixes from John Fastabend (pinned map handling, blocking in recvmsg, double page put, error handling during redirect failures, etc.) 2) Fix dead code handling in x86-64 JIT, from Gianluca Borello. 3) Missing device put in RDS IB code, from Dag Moxnes. 4) Don't process fast open during repair mode in TCP< from Yuchung Cheng. 5) Move address/port comparison fixes in SCTP, from Xin Long. 6) Handle add a bond slave's master into a bridge properly, from Hangbin Liu. 7) IPv6 multipath code can operate on unitialized memory due to an assumption that the icmp header is in the linear SKB area. Fix from Eric Dumazet. 8) Don't invoke do_tcp_sendpages() recursively via TLS, from Dave Watson. 9) Fix memory leaks in x86-64 JIT, from Daniel Borkmann. 10) RDS leaks kernel memory to userspace, from Eric Dumazet. 11) DCCP can invoke a tasklet on a freed socket, take a refcount. Also from Eric Dumazet. Please pull, thanks a lot! The following changes since commit 3be4aaf4e2d3eb95cce7835e8df797ae65ae5ac1: Merge branch 'userns-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace (2018-04-24 17:58:51 -0700) 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 a8d7aa17bbc970971ccdf71988ea19230ab368b1: dccp: fix tasklet usage (2018-05-03 15:14:57 -0400) Alexandre Belloni (1): net: phy: allow scanning busses with missing phys Alexei Starovoitov (2): Merge branch 'x86-bpf-jit-fixes' Merge branch 'bpf-sockmap-fixes' Anders Roxell (1): selftests: net: add in_netns.sh TEST_GEN_PROGS_EXTENDED Arend Van Spriel (1): brcmfmac: fix firmware request processing if nvram load fails Bjørn Mork (1): qmi_wwan: do not steal interfaces from class drivers Chris Mi (1): net/mlx5: Properly deal with flow counters when deleting rules Colin Ian King (6): net: systemport: fix spelling mistake: "asymetric" -> "asymmetric" qed: fix spelling mistake: "checksumed" -> "checksummed" net: ethernet: ucc: fix spelling mistake: "tx-late-collsion" -> "tx-late-collision" net/mlx4: fix spelling mistake: "failedi" -> "failed" net/mlx5e: fix spelling mistake: "loobpack" -> "loopback" qed: fix spelling mistake: "offloded" -> "offloaded" Dag Moxnes (1): rds: ib: Fix missing call to rds_ib_dev_put in rds_ib_setup_qp Daniel Borkmann (3): Merge branch 'bpf-sockmap-fixes' bpf, x64: fix memleak when not converging after image bpf, x64: fix memleak when not converging on calls Dave Watson (1): net/tls: Don't recursively call push_record during tls_write_space callbacks David S. Miller (7): Merge git://git.kernel.org/.../bpf/bpf Merge branch 'mvpp2-fixes' Merge tag 'wireless-drivers-for-davem-2018-04-26' of git://git.kernel.org/.../kvalo/wireless-drivers Merge tag 'mlx5-fixes-2018-04-25' of git://git.kernel.org/.../saeed/linux Merge branch 'sfc-more-ARFS-fixes' Merge git://git.kernel.org/.../bpf/bpf Merge branch 'smc-fixes' Edward Cree (2): sfc: Use filter index rather than ID for rps_flow_id table sfc: fix ARFS expiry check on EF10 Eric Dumazet (6): ipv6: fix uninit-value in ip6_multipath_l3_keys() tcp: fix TCP_REPAIR_QUEUE bound checking net_sched: fq: take care of throttled flows before reuse rds: do not leak kernel memory to user land tcp: restore autocorking dccp: fix tasklet usage Florian Fainelli (1): net: systemport: Correclty disambiguate driver instances Gianluca Borello (1): bpf, x64: fix JIT emission for dead code Grygorii Strashko (1): net: ethernet: ti: cpsw: fix packet leaking in dual_mac mode Haim Dreyfuss (1): iwlwifi: mvm: query regdb for wmm rule if needed Hangbin Liu (1): bridge: check iface upper dev when setting master via ioctl Huy Nguyen (1): net/mlx5e: DCBNL fix min inline header size for dscp Ido Schimmel (2): mlxsw: spectrum_switchdev: Do not remove mrouter port from MDB's ports list ipv6: Revert "ipv6: Allow non-gateway ECMP for IPv6" Ingo Molnar (1): 8139too: Use disable_irq_nosync() in rtl8139_poll_controller() Israel Rukshin (1): net/mlx5: Fix mlx5_get_vector_affinity function Jakub Kicinski (1): nfp: don't depend on eth_tbl being available Jianbo Liu (1): net/mlx5e: Allow offloading ipv4 header re-write for icmp John Fastabend (10): bpf: Document sockmap '-target bpf' requirement for PROG_TYPE_SK_MSG bpf: sockmap sample use clang flag, -target bpf bpf: sockmap, map_release does not hold refcnt for pinned maps bpf: sockmap, sk_wait_event needed to handle blocking cases bpf: sockmap, fix double page_put on ENOMEM error in redirect path bpf: fix for lex/yacc build error with gcc-5
[GIT] Networking
1) Fix rtnl deadlock in ipvs, from Julian Anastasov. 2) s390 qeth fixes from Julian Wiedmann (control IO completion stalls, bad MAC address update sequence, request side races on command IO timeouts). 3) Handle seq_file overflow properly in l2tp, from Guillaume Nault. 4) Fix VLAN priority mappings in cpsw driver, from Ivan Khoronzhuk. 5) Packet scheduler ife action fixes (malformed TLV lengths, etc.) from Alexander Aring. 6) Fix out of bounds access in tcp md5 option parser, from Jann Horn. 7) Missing netlink attribute policies in rtm_ipv6_policy table, from Eric Dumazet. 8) Missing socket address length checks in l2tp and pppoe connect, from Guillaume Nault. 9) Fix netconsole over team and bonding, from Xin Long. 10) Fix race with AF_PACKET socket state bitfields, from Willem de Bruijn. Pulled, thanks a lot! The following changes since commit 83beed7b2b26f232d782127792dd0cd4362fdc41: Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal (2018-04-20 10:56:32 -0700) 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 d19efb729f10339f91c35003d480dc718cae3b3c: Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-queue (2018-04-24 16:17:59 -0400) Ahmed Abdelsalam (1): ipv6: sr: fix NULL pointer dereference in seg6_do_srh_encap()- v4 pkts Alexander Aring (3): net: sched: ife: signal not finding metaid net: sched: ife: handle malformed tlv length net: sched: ife: check on metadata length Anders Roxell (1): selftests: bpf: update .gitignore with missing generated files Anirudh Venkataramanan (2): ice: Fix initialization for num_nodes_added ice: Fix incorrect comment for action type Arnd Bergmann (1): netfilter: fix CONFIG_NF_REJECT_IPV6=m link error Ben Shelton (1): ice: Do not check INTEVENT bit for OICR interrupts Colin Ian King (1): ixgbevf: ensure xdp_ring resources are free'd on error exit Cong Wang (3): netfilter: conntrack: silent a memory leak warning llc: delete timers synchronously in llc_sk_free() llc: fix NULL pointer deref for SOCK_ZAPPED David S. Miller (6): Merge branch 's390-qeth-fixes' Merge branch 'net-sched-ife-malformed-ife-packet-fixes' Merge git://git.kernel.org/.../bpf/bpf Merge git://git.kernel.org/.../pablo/nf Merge branch 'amd-xgbe-fixes' Merge branch '1GbE' of git://git.kernel.org/.../jkirsher/net-queue Doron Roberts-Kedes (1): strparser: Do not call mod_delayed_work with a timeout of LONG_MAX Edward Cree (1): sfc: ARFS filter IDs Eric Dumazet (1): ipv6: add RTA_TABLE and RTA_PREFSRC to rtm_ipv6_policy Florian Fainelli (1): net: ethtool: Add missing kernel doc for FEC parameters Florian Westphal (4): netfilter: nf_conntrack_sip: allow duplicate SDP expectations netfilter: ebtables: don't attempt to allocate 0-sized compat array netfilter: nf_tables: can't fail after linking rule into active rule list netfilter: nf_tables: free set name in error path Guillaume Nault (3): l2tp: fix {pppol2tp, l2tp_dfs}_seq_stop() in case of seq_file overflow l2tp: check sockaddr length in pppol2tp_connect() pppoe: check sockaddr length in pppoe_connect() Ivan Khoronzhuk (1): net: ethernet: ti: cpsw: fix tx vlan priority mapping Jack Ma (1): netfilter: xt_connmark: Add bit mapping for bit-shift operation. Jann Horn (2): bpf: sockmap remove dead check tcp: don't read out-of-bounds opsize Jingju Hou (1): net: phy: marvell: clear wol event before setting it Julian Anastasov (1): ipvs: fix rtnl_lock lockups caused by start_sync_thread Julian Wiedmann (6): s390/qeth: fix error handling in adapter command callbacks s390/qeth: avoid control IO completion stalls s390/qeth: handle failure on workqueue creation s390/qeth: fix MAC address update sequence s390/qeth: fix request-side race during cmd IO timeout s390/qeth: use Read device to query hypervisor for MAC Md Fahad Iqbal Polash (1): ice: Fix insufficient memory issue in ice_aq_manage_mac_read Pablo Neira Ayuso (2): netfilter: nf_tables: NAT chain and extensions require NF_TABLES netfilter: xt_connmark: do not cast xt_connmark_tginfo1 to xt_connmark_tginfo2 Stephen Rothwell (1): netfilter: conntrack: include kmemleak.h for kmemleak_not_leak() Taehee Yoo (1): netfilter: nf_tables: fix out-of-bounds in nft_chain_commit_update Thomas Falcon (1): ibmvnic: Clean actual number of RX or TX pools Tom Lendacky (3): amd-xgbe: Add pre/post auto-negotiation phy hooks amd-xgbe: Improve KR auto-negotiation and training amd-xgbe: Only use the SFP supported transceiver signals Vinicius Costa
[GIT] Networking
1) Unbalanced refcounting in TIPC, from Jon Maloy. 2) Only allow TCP_MD5SIG to be set on sockets in close or listen state. Once the connection is established it makes no sense to change this. From Eric Dumazet. 3) Missing attribute validation in neigh_dump_table(), also from Eric Dumazet. 4) Fix address comparisons in SCTP, from Xin Long. 5) Neigh proxy table clearing can deadlock, from Wolfgang Bumiller. 6) Fix tunnel refcounting in l2tp, from Guillaume Nault. 7) Fix double list insert in team driver, from Paolo Abeni. 8) af_vsock.ko module was accidently made unremovable, from Stefan Hajnoczi. 9) Fix reference to freed llc_sap object in llc stack, from Cong Wang. 10) Don't assume netdevice struct is DMA'able memory in virtio_net driver, from Michael S. Tsirkin. Please pull, thanks a lot! The following changes since commit 5d1365940a68dd57b031b6e3c07d7d451cd69daf: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-04-12 11:09:05 -0700) 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 1255fcb2a655f05e02f3a74675a6d6525f187afd: net/smc: fix shutdown in state SMC_LISTEN (2018-04-19 16:38:39 -0400) Anders Roxell (1): selftests: net: add in_netns.sh to TEST_PROGS Bert Kenward (1): sfc: check RSS is active for filter insert Bjørn Mork (1): tun: fix vlan packet truncation Colin Ian King (2): net: caif: fix spelling mistake "UKNOWN" -> "UNKNOWN" atm: iphase: fix spelling mistake: "Tansmit" -> "Transmit" Cong Wang (1): llc: hold llc_sap before release_sock() Dan Carpenter (1): Revert "macsec: missing dev_put() on error in macsec_newlink()" David S. Miller (6): Merge branch 'ibmvnic-Fix-parameter-change-request-handling' Merge branch 'nfp-improve-signal-handing-on-FW-waits-and-flower-control-message-Jakub Kicinski says: Merge branch 'l2tp-remove-unsafe-calls-to-l2tp_tunnel_find_nth' Merge branch 'sfc-ARFS-fixes' Merge branch 'tipc-Better-check-user-provided-attributes' Merge branch 'virtio-ctrl-buffer-fixes' Doron Roberts-Kedes (1): strparser: Fix incorrect strp->need_bytes value. Edward Cree (3): sfc: insert ARFS filters with replace_equal=true sfc: pass the correctly bogus filter_id to rps_may_expire_flow() sfc: limit ARFS workitems in flight per channel Eric Biggers (1): KEYS: DNS: limit the length of option strings Eric Dumazet (5): tcp: md5: reject TCP_MD5SIG or TCP_MD5SIG_EXT on established sockets net: validate attribute sizes in neigh_dump_table() net: af_packet: fix race in PACKET_{R|T}X_RING tipc: add policy for TIPC_NLA_NET_ADDR tipc: fix possible crash in __tipc_nl_net_set() Gao Feng (1): net: Fix one possible memleak in ip_setup_cork Guillaume Nault (3): l2tp: hold reference on tunnels in netlink dumps l2tp: hold reference on tunnels printed in pppol2tp proc file l2tp: hold reference on tunnels printed in l2tp/tunnels debugfs file Jakub Kicinski (2): nfp: ignore signals when communicating with management FW nfp: print a message when mutex wait is interrupted Jason Wang (1): virtio-net: add missing virtqueue kick when flushing packets Jon Maloy (3): tipc: fix unbalanced reference counter tipc: fix missing initializer in tipc_sendmsg() tipc: fix use-after-free in tipc_nametbl_stop Jonathan Corbet (1): MAINTAINERS: Direct networking documentation changes to netdev Jose Abreu (1): net: stmmac: Disable ACS Feature for GMAC >= 4 Kees Cook (2): ibmvnic: Define vnic_login_client_data name field as unsized array net/tls: Remove VLA usage Laura Abbott (1): mISDN: Remove VLAs Maxime Chevallier (2): net: mvpp2: Fix TCAM filter reserved range net: mvpp2: Fix DMA address mask size Michael S. Tsirkin (3): virtio_net: split out ctrl buffer virtio_net: fix adding vids on big-endian virtio_net: sparse annotation fix Nathan Fontenot (2): ibmvnic: Handle all login error conditions ibmvnic: Do not notify peers on parameter change resets Nicolas Dechesne (1): net: qrtr: add MODULE_ALIAS_NETPROTO macro Olivier Gayot (1): docs: ip-sysctl.txt: fix name of some ipv6 variables Paolo Abeni (1): team: avoid adding twice the same option to the event list Pawel Dembicki (1): net: qmi_wwan: add Wistron Neweb D19Q1 Pieter Jansen van Vuuren (2): nfp: flower: move route ack control messages out of the workqueue nfp: flower: split and limit cmsg skb lists Raghuram Chary J (1): lan78xx: PHY DSP registers initialization to address EEE link drop issues with long cables Randy Dunlap (1): textsearch: fix kernel-doc warnings and add kernel-api section Richard Cochran (1): net: dsa:
[GIT] Networking
1) In ip_gre tunnel, handle the conflict between TUNNEL_{SEQ,CSUM} and GSO/LLTX properly. From Sabrina Dubroca. 2) Stop properly on error in lan78xx_read_otp(), from Phil Elwell. 3) Don't uncompress in slip before rstate is initialized, from Tejaswi Tanikella. 4) When using 1.x firmware on aquantia, issue a deinit before we hardware reset the chip, otherwise we break dirty wake WOL. From Igor Russkikh. 5) Correct log check in vhost_vq_access_ok(), from Stefan Hajnoczi. 6) Fix ethtool -x crashes in bnxt_en, from Michael Chan. 7) Fix races in l2tp tunnel creation and duplicate tunnel detection, from Guillaume Nault. Please pull, thanks a lot! The following changes since commit c18bb396d3d261ebbb4efbc05129c5d354c541e4: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-04-09 17:04:10 -0700) 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 0c84cee8f131a090f77f5a3dea5d6a7bd99c00db: Merge branch 'l2tp-tunnel-creation-fixes' (2018-04-11 17:41:28 -0400) Andy Gospodarek (1): bnxt_en: do not allow wildcard matches for L2 flows Bassem Boubaker (1): cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN David S. Miller (4): Merge branch 'Aquantia-atlantic-critical-fixes-04-2018' Merge branch 'vhost-fix-vhost_vq_access_ok-log-check' Merge branch 'bnxt_en-Fixes-for-net' Merge branch 'l2tp-tunnel-creation-fixes' Eric Auger (1): vhost: Fix vhost_copy_to_user() Guillaume Nault (2): l2tp: fix races in tunnel creation l2tp: fix race in duplicate tunnel detection Igor Russkikh (2): net: aquantia: Regression on reset with 1.x firmware net: aquantia: oops when shutdown on already stopped device Ka-Cheong Poon (1): rds: MP-RDS may use an invalid c_path Michael Chan (3): bnxt_en: Fix ethtool -x crash when device is down. bnxt_en: Need to include RDMA rings in bnxt_check_rings(). bnxt_en: Fix NULL pointer dereference at bnxt_free_irq(). Phil Elwell (3): lan78xx: Correctly indicate invalid OTP lan78xx: Avoid spurious kevent 4 "error" lan78xx: Don't reset the interface on open Sabrina Dubroca (3): ip_gre: clear feature flags when incompatible o_flags are set tun: set the flags before registering the netdevice tun: send netlink notification when the device is modified Sriharsha Basavapatna (2): bnxt_en: Ignore src port field in decap filter nodes bnxt_en: Support max-mtu with VF-reps Stefan Hajnoczi (2): vhost: fix vhost_vq_access_ok() log check vhost: return bool from *_access_ok() functions Tejaswi Tanikella (1): slip: Check if rstate is initialized before uncompressing drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 8 +- drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c | 16 drivers/net/ethernet/broadcom/bnxt/bnxt.c| 4 +- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c| 11 ++- drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c | 63 +++- drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c| 30 drivers/net/slip/slhc.c | 5 ++ drivers/net/tun.c| 33 ++-- drivers/net/usb/cdc_ether.c | 6 ++ drivers/net/usb/lan78xx.c| 9 +-- drivers/vhost/vhost.c| 72 +- drivers/vhost/vhost.h| 4 +- include/net/slhc_vj.h| 1 + net/ipv4/ip_gre.c| 6 ++ net/l2tp/l2tp_core.c | 225 --- net/l2tp/l2tp_core.h | 4 +- net/l2tp/l2tp_netlink.c | 22 +++--- net/l2tp/l2tp_ppp.c | 9 +++ net/rds/send.c | 15 ++-- 19 files changed, 345 insertions(+), 198 deletions(-)
[GIT] Networking
1) The sockmap code has to free socket memory on close if there is corked data, from John Fastabend. 2) Tunnel names coming from userspace need to be length validated. From Eric Dumazet. 3) arp_filter() has to take VRFs properly into account, from Miguel Fadon Perlines. 4) Fix oops in error path of tcf_bpf_init(), from Davide Caratti. 5) Missing idr_remove() in u32_delete_key(), from Cong Wang. 6) More syzbot stuff. Several use of uninitialized value fixes all over, from Eric Dumazet. 7) Do not leak kernel memory to userspace in sctp, also from Eric Dumazet. 8) Discard frames from unused ports in DSA, from Andrew Lunn. 9) Fix DMA mapping and reset/failover problems in ibmvnic, from Thomas Falcon. 10) Do not access dp83640 PHY registers prematurely after reset, from Esben Haabendal. Please pull, thanks a lot! The following changes since commit 06dd3dfeea60e2a6457a6aedf97afc8e6d2ba497: Merge tag 'char-misc-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc (2018-04-04 20:07:20 -0700) 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 76327a35caabd1a932e83d6a42b967aa08584e5d: dp83640: Ensure against premature access to PHY registers after reset (2018-04-08 19:58:52 -0400) Anders Roxell (1): kernel/bpf/syscall: fix warning defined but not used Andrew Lunn (1): net: dsa: Discard frames from unused ports Anirudh Venkataramanan (1): ice: Bug fixes in ethtool code Cong Wang (2): net_sched: fix a missing idr_remove() in u32_delete_key() tipc: use the right skb in tipc_sk_fill_sock_diag() David S. Miller (7): Merge branch 'net-tunnel-name-validate' Merge branch 'hv_netvsc-Fix-shutdown-issues-on-older-Windows-hosts' Merge branch '100GbE' of git://git.kernel.org/.../jkirsher/net-queue Merge branch 'net-fix-uninit-values-in-networking-stack' Merge branch 'ibmvnic-Fix-driver-reset-and-DMA-bugs' Merge branch 'for-upstream' of git://git.kernel.org/.../bluetooth/bluetooth Merge git://git.kernel.org/.../bpf/bpf Davide Caratti (1): net/sched: fix NULL dereference in the error path of tcf_bpf_init() Eric Dumazet (16): net: fool proof dev_valid_name() ip_tunnel: better validate user provided tunnel names ipv6: sit: better validate user provided tunnel names ip6_gre: better validate user provided tunnel names ip6_tunnel: better validate user provided tunnel names vti6: better validate user provided tunnel names crypto: af_alg - fix possible uninit-value in alg_bind() netlink: fix uninit-value in netlink_sendmsg net: fix rtnh_ok() net: initialize skb->peeked when cloning net: fix uninit-value in __hw_addr_add_ex() dccp: initialize ireq->ir_mark ipv4: fix uninit-value in ip_route_output_key_hash_rcu() soreuseport: initialise timewait reuseport field sctp: do not leak kernel memory to user space sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6 Esben Haabendal (4): net: phy: marvell: Enable interrupt function on LED2 pin net/fsl_pq_mdio: Allow explicit speficition of TBIPA address ARM: dts: ls1021a: Specify TBIPA register address dp83640: Ensure against premature access to PHY registers after reset Jeff Barnhill (1): net/ipv6: Increment OUTxxx counters after netfilter hook Jiri Pirko (1): devlink: convert occ_get op to separate registration John Fastabend (2): bpf: sockmap, free memory on sock close with cork data bpf: sockmap, duplicates release calls may NULL sk_prot Maxime Chevallier (1): net: mvpp2: Fix parser entry init boundary check Miguel Fadon Perlines (1): arp: fix arp_filter on l3slave devices Mohammed Gamal (4): hv_netvsc: Use Windows version instead of NVSP version on GPAD teardown hv_netvsc: Split netvsc_revoke_buf() and netvsc_teardown_gpadl() hv_netvsc: Ensure correct teardown message sequence order hv_netvsc: Pass net_device parameter to revoke and teardown functions Nathan Fontenot (1): ibmvnic: Do not reset CRQ for Mobility driver resets Szymon Janc (1): Bluetooth: Fix connection if directed advertising and privacy is used Thomas Falcon (4): ibmvnic: Fix DMA mapping mistakes ibmvnic: Zero used TX descriptor counter on reset ibmvnic: Fix reset scheduler error handling ibmvnic: Fix failover case for non-redundant configuration Wei Yongjun (1): ice: Fix error return code in ice_init_hw() Documentation/devicetree/bindings/net/fsl-tsec-phy.txt | 6 +++- arch/arm/boot/dts/ls1021a.dtsi | 3 +- crypto/af_alg.c| 8 ++--- drivers/net/ethernet/freescale/fsl_pq_mdio.c | 50
[GIT] Networking
This fixes some fallout from the net-next merge the other day, plus some non-merge-window-related bug fixes: 1) Fix sparse warnings in bcmgenet,systemport, b53, and mt7530, from Florian Fainelli. 2) pptp does a bogus dst_release() on a route we have a single refcount on, and attached to a socket, which needs that refcount. From Eric Dumazet. 3) UDP connected sockets on ipv6 can race with route update handling, resulting in a pre-PMTU update route still stuck on the socket and thus continuing to get ICMPV6_PKT_TOOBIG errors. We end up never seeing the updated route. Fix from Alexey Kodanev. 4) Missing list initializer(s) in TIPC, from Jon Maloy. 5) Connect phy early to prevent crashes in lan78xx driver, from Alexander Graf. 6) Fix build with modular NVMEM, from Arnd Bergmann. 7) netdevsim canot mark nsim_devlink_net_ops and nsim_fib_net_ops as __net_initdata, as these are references from module unload unconditionally. From Arnd Bergmann. Please pull, thanks a lot! The following changes since commit 17dec0a949153d9ac00760ba2f5b78cb583e995f: Merge branch 'userns-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace (2018-04-03 19:15:32 -0700) 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 87248d31d1055b56e01a62d9320b4e118bc84e0e: netdevsim: remove incorrect __net_initdata annotations (2018-04-04 12:53:37 -0400) Alexander Graf (1): lan78xx: Connect phy early Alexey Kodanev (4): ipv6: add a wrapper for ip6_dst_store() with flowi6 checks ipv6: allow to cache dst for a connected sk in ip6_sk_dst_lookup_flow() ipv6: udp: convert 'connected' to bool type in udpv6_sendmsg() ipv6: udp: set dst cache for a connected sk if current not valid Arnd Bergmann (2): nvmem: disallow modular CONFIG_NVMEM netdevsim: remove incorrect __net_initdata annotations Bert Kenward (1): sfc: remove ctpio_dmabuf_start from stats Cong Wang (1): af_unix: remove redundant lockdep class David Howells (1): rxrpc: Fix undefined packet handling David S. Miller (2): Merge branch 'net-Broadcom-drivers-sparse-fixes' Merge branch 'ipv6-udp-set-dst-cache-for-a-connected-sk-if-current-not-valid' Dirk van der Merwe (1): nfp: use full 40 bits of the NSP buffer address Eric Dumazet (2): pptp: remove a buggy dst release in pptp_connect() inet: frags: fix ip6frag_low_thresh boundary Florian Fainelli (4): net: bcmgenet: Fix sparse warnings in bcmgenet_put_tx_csum() net: systemport: Fix sparse warnings in bcm_sysport_insert_tsb() net: dsa: b53: Fix sparse warnings in b53_mmap.c net: dsa: mt7530: Use NULL instead of plain integer GhantaKrishnamurthy MohanKrishna (1): tipc: Fix namespace violation in tipc_sk_fill_sock_diag Jakub Kicinski (1): nfp: add a separate counter for packets with CHECKSUM_COMPLETE Jon Maloy (1): tipc: Fix missing list initializations in struct tipc_subscription Paolo Abeni (1): net: avoid unneeded atomic operation in ip*_append_data() Russell King (1): net: phy: marvell10g: add thermal hwmon device Tan Xiaojun (1): net: hns3: fix length overflow when CONFIG_ARM64_64K_PAGES drivers/net/dsa/b53/b53_mmap.c | 33 +- drivers/net/dsa/mt7530.c | 6 ++-- drivers/net/ethernet/broadcom/bcmsysport.c | 11 +++--- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 11 +++--- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 2 +- drivers/net/ethernet/netronome/nfp/nfp_net.h | 4 ++- drivers/net/ethernet/netronome/nfp/nfp_net_common.c | 2 +- drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c | 16 + drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c | 9 ++--- drivers/net/ethernet/sfc/ef10.c | 2 -- drivers/net/ethernet/sfc/nic.h | 1 - drivers/net/netdevsim/devlink.c | 2 +- drivers/net/netdevsim/fib.c | 2 +- drivers/net/phy/marvell10g.c | 184 ++-- drivers/net/ppp/pptp.c | 1 - drivers/net/usb/lan78xx.c| 34 +- drivers/nvmem/Kconfig| 2 +- include/net/ip6_route.h | 3 ++ include/net/ipv6.h | 3 +- net/ieee802154/6lowpan/reassembly.c | 2 -- net/ipv4/ip_fragment.c | 5 ++- net/ipv4/ip_output.c | 3 +- net/ipv6/datagram.c | 9 +
Re: [GIT] Networking
Sorry, this is a dup of the bug fix pull request from last week. I'll send you the right one.
[GIT] Networking
1) Fix RCU locking in xfrm_local_error(), from Taehee Yoo. 2) Fix return value assignments and thus error checking in iwl_mvm_start_ap_ibss(), from Johannes Berg. 3) Don't count header length twice in vti4, from Stefano Brivio. 4) Fix deadlock in rt6_age_examine_exception, from Eric Dumazet. 5) Fix out-of-bounds access in nf_sk_lookup_slow{v4,v6}() from Subash Abhinov. 6) Check nladdr size in netlink_connect(), from Alexander Potapenko. 7) VF representor SQ numbers are 32 not 16 bits, in mlx5 driver, from Or Gerlitz. 8) Out of bounds read in skb_network_protocol(), from Eric Dumazet. 9) r8169 driver sets driver data pointer after register_netdev() which is too late. Fix from Heiner Kallweit. 10) Fix memory leak in mlx4 driver, from Moshe Shemesh. 11) The multi-VLAN decap fix added a regression when dealing with device that lack a MAC header, such as tun. Fix from Toshiaki Makita. 12) Fix integer overflow in dynamic interrupt coalescing code. From Tal Gilboa. 13) Use after free in vrf code, from David Ahern. 14) IPV6 route leak between VRFs fix, also from David Ahern. Please pull, thanks a lot! The following changes since commit f36b7534b83357cf52e747905de6d65b4f7c2512: Merge branch 'akpm' (patches from Andrew) (2018-03-22 18:48:43 -0700) 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 e81b5e01c14add8395dfba7130f8829206bb507d: net: mvneta: fix enable of all initialized RXQs (2018-03-30 14:27:47 -0400) Alexander Potapenko (1): netlink: make sure nladdr has correct size in netlink_connect() Andrei Otcheretianski (2): iwlwifi: mvm: Increase session protection time after CS iwlwifi: mvm: Move unused phy's to a default channel Avraham Stern (3): iwlwifi: mvm: clear tx queue id when unreserving aggregation queue iwlwifi: mvm: make sure internal station has a valid id iwlwifi: mvm: fix array out of bounds reference Beni Lev (1): iwlwifi: mvm: Correctly set IGTK for AP Colin Ian King (1): atm: iphase: fix spelling mistake: "Receiverd" -> "Received" Cong Wang (1): llc: properly handle dev_queue_xmit() return value Craig Dillabaugh (1): net sched actions: fix dumping which requires several messages to user space Dave Watson (1): strparser: Fix sign of err codes David Ahern (2): vrf: Fix use after free and double free in vrf_finish_output net/ipv6: Fix route leaking between VRFs David Lebrun (1): ipv6: sr: fix seg6 encap performances with TSO enabled David S. Miller (11): Merge branch 'mlxsw-GRE-mtu-changes' Merge git://git.kernel.org/.../pablo/nf Merge tag 'wireless-drivers-for-davem-2018-03-24' of git://git.kernel.org/.../kvalo/wireless-drivers Merge branch 'bond-hwaddr-sync-fixes' Merge tag 'batadv-net-for-davem-20180326' of git://git.open-mesh.org/linux-merge Merge tag 'mlx5-fixes-2018-03-23' of git://git.kernel.org/.../saeed/linux Merge branch 'mlx4-misc-fixes-for-4.16' Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec ip_tunnel: Resolve ipsec merge conflict properly. Merge git://git.kernel.org/.../bpf/bpf Merge branch 'vlan-fix' Emmanuel Grumbach (1): iwlwifi: mvm: set the correct tid when we flush the MCAST sta Eran Ben Elisha (1): net/mlx4_en: Fix mixed PFC and Global pause user control requests Eric Dumazet (2): ipv6: fix possible deadlock in rt6_age_examine_exception() net: fix possible out-of-bound read in skb_network_protocol() Florian Westphal (3): netfilter: nf_tables: meter: pick a set backend that supports updates netfilter: nf_tables: permit second nat hook if colliding hook is going away netfilter: nf_tables: add missing netlink attrs to policies Giuseppe Lippolis (1): net-usb: add qmi_wwan if on lte modem wistron neweb d18q1 Hans Wippel (1): net/ipv4: disable SMC TCP option with SYN Cookies Heiner Kallweit (1): r8169: fix setting driver_data after register_netdev Jakub Kicinski (2): tools: bpftool: don't use hex numbers in JSON output nfp: bpf: fix check of program max insn count Jason Wang (3): vhost_net: add missing lock nesting notation vhost: correctly remove wait queue during poll failure vhost: validate log when IOTLB is enabled Jianbo Liu (2): net/mlx5e: Don't override vport admin link state in switchdev mode net/mlx5e: Fix memory usage issues in offloading TC flows Johannes Berg (1): iwlwifi: mvm: fix error checking for multi/broadcast sta John Fastabend (1): net: sched, fix OOO packets with pfifo_fast Kalle Valo (2): Merge tag 'iwlwifi-for-kalle-2018-03-16' of git://git.kernel.org/.../iwlwifi/iwlwifi-fixes Merge tag 'iwlwifi-for-kalle-2018-03-19' of
[GIT] Networking
1) Fix RCU locking in xfrm_local_error(), from Taehee Yoo. 2) Fix return value assignments and thus error checking in iwl_mvm_start_ap_ibss(), from Johannes Berg. 3) Don't count header length twice in vti4, from Stefano Brivio. 4) Fix deadlock in rt6_age_examine_exception, from Eric Dumazet. 5) Fix out-of-bounds access in nf_sk_lookup_slow{v4,v6}() from Subash Abhinov. 6) Check nladdr size in netlink_connect(), from Alexander Potapenko. 7) VF representor SQ numbers are 32 not 16 bits, in mlx5 driver, from Or Gerlitz. 8) Out of bounds read in skb_network_protocol(), from Eric Dumazet. 9) r8169 driver sets driver data pointer after register_netdev() which is too late. Fix from Heiner Kallweit. 10) Fix memory leak in mlx4 driver, from Moshe Shemesh. 11) The multi-VLAN decap fix added a regression when dealing with device that lack a MAC header, such as tun. Fix from Toshiaki Makita. 12) Fix integer overflow in dynamic interrupt coalescing code. From Tal Gilboa. 13) Use after free in vrf code, from David Ahern. 14) IPV6 route leak between VRFs fix, also from David Ahern. Please pull, thanks a lot! The following changes since commit f36b7534b83357cf52e747905de6d65b4f7c2512: Merge branch 'akpm' (patches from Andrew) (2018-03-22 18:48:43 -0700) 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 e81b5e01c14add8395dfba7130f8829206bb507d: net: mvneta: fix enable of all initialized RXQs (2018-03-30 14:27:47 -0400) Alexander Potapenko (1): netlink: make sure nladdr has correct size in netlink_connect() Andrei Otcheretianski (2): iwlwifi: mvm: Increase session protection time after CS iwlwifi: mvm: Move unused phy's to a default channel Avraham Stern (3): iwlwifi: mvm: clear tx queue id when unreserving aggregation queue iwlwifi: mvm: make sure internal station has a valid id iwlwifi: mvm: fix array out of bounds reference Beni Lev (1): iwlwifi: mvm: Correctly set IGTK for AP Colin Ian King (1): atm: iphase: fix spelling mistake: "Receiverd" -> "Received" Cong Wang (1): llc: properly handle dev_queue_xmit() return value Craig Dillabaugh (1): net sched actions: fix dumping which requires several messages to user space Dave Watson (1): strparser: Fix sign of err codes David Ahern (2): vrf: Fix use after free and double free in vrf_finish_output net/ipv6: Fix route leaking between VRFs David Lebrun (1): ipv6: sr: fix seg6 encap performances with TSO enabled David S. Miller (11): Merge branch 'mlxsw-GRE-mtu-changes' Merge git://git.kernel.org/.../pablo/nf Merge tag 'wireless-drivers-for-davem-2018-03-24' of git://git.kernel.org/.../kvalo/wireless-drivers Merge branch 'bond-hwaddr-sync-fixes' Merge tag 'batadv-net-for-davem-20180326' of git://git.open-mesh.org/linux-merge Merge tag 'mlx5-fixes-2018-03-23' of git://git.kernel.org/.../saeed/linux Merge branch 'mlx4-misc-fixes-for-4.16' Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec ip_tunnel: Resolve ipsec merge conflict properly. Merge git://git.kernel.org/.../bpf/bpf Merge branch 'vlan-fix' Emmanuel Grumbach (1): iwlwifi: mvm: set the correct tid when we flush the MCAST sta Eran Ben Elisha (1): net/mlx4_en: Fix mixed PFC and Global pause user control requests Eric Dumazet (2): ipv6: fix possible deadlock in rt6_age_examine_exception() net: fix possible out-of-bound read in skb_network_protocol() Florian Westphal (3): netfilter: nf_tables: meter: pick a set backend that supports updates netfilter: nf_tables: permit second nat hook if colliding hook is going away netfilter: nf_tables: add missing netlink attrs to policies Giuseppe Lippolis (1): net-usb: add qmi_wwan if on lte modem wistron neweb d18q1 Hans Wippel (1): net/ipv4: disable SMC TCP option with SYN Cookies Heiner Kallweit (1): r8169: fix setting driver_data after register_netdev Jakub Kicinski (2): tools: bpftool: don't use hex numbers in JSON output nfp: bpf: fix check of program max insn count Jason Wang (3): vhost_net: add missing lock nesting notation vhost: correctly remove wait queue during poll failure vhost: validate log when IOTLB is enabled Jianbo Liu (2): net/mlx5e: Don't override vport admin link state in switchdev mode net/mlx5e: Fix memory usage issues in offloading TC flows Johannes Berg (1): iwlwifi: mvm: fix error checking for multi/broadcast sta John Fastabend (1): net: sched, fix OOO packets with pfifo_fast Kalle Valo (2): Merge tag 'iwlwifi-for-kalle-2018-03-16' of git://git.kernel.org/.../iwlwifi/iwlwifi-fixes Merge tag 'iwlwifi-for-kalle-2018-03-19' of
[GIT] Networking
1) Always validate XFRM esn replay attribute, from Florian Westphal. 2) Fix RCU read lock imbalance in xfrm_get_tos(), from Xin Long. 3) Don't try to get firmware dump if not loaded in iwlwifi, from Shaul Triebitz. 4) Fix BPF helpers to deal with SCTP GSO SKBs properly, from Daniel Axtens. 5) Fix some interrupt handling issues in e1000e driver, from Benjamin Poitier. 6) Use strlcpy() in several ethtool get_strings methods, from Florian Fainelli. 7) Fix rhlist dup insertion, from Paul Blakey. 8) Fix SKB leak in netem packet scheduler, from Alexey Kodanev. 9) Fix driver unload crash when link is up in smsc911x, from Jeremy Linton. 10) Purge out invalid socket types in l2tp_tunnel_create(), from Eric Dumazet. 11) Need to purge the write queue when TCP connections are aborted, otherwise userspace using MSG_ZEROCOPY can't close the fd. From Soheil Hassas Yeganeh. 12) Fix double free in error path of team driver, from Arkadi Sharshevsky. 13) Filter fixes for hv_netvsc driver, from Stephen Hemminger. 14) Fix non-linear packet access in ipv6 ndisc code, from Lorenzo Bianconi. 15) Properly filter out unsupported feature flags in macvlan driver, from Shannon Nelson. 16) Don't request loading the diag module for a protocol if the protocol itself is not even registered. From Xin Long. 17) If datagram connect fails in ipv6, make sure the socket state is consistent afterwards. From Paolo Abeni. 18) Use after free in qed driver, from Dan Carpenter. 19) If received ipv4 PMTU is less than the min pmtu, lock the mtu in the entry. From Sabrina Dubroca. 20) Fix sleep in atomic in tg3 driver, from Jonathan Toppins. 21) Fix vlan in vlan untagging in some situations, from Toshiaki Makita. 22) Fix double SKB free in genlmsg_mcast(). From Nicolas Dichtel. 23) Fix NULL derefs in error paths of tcf_*_init(), from Davide Caratti. 24) Unbalanced PM runtime calls in FEC driver, from Florian Fainelli. 25) Memory leak in gemini driver, from Igor Pylypiv. 26) IDR leaks in error paths of tcf_*_init() functions, from Davide Caratti. 27) Need to use GFP_ATOMIC in seg6_build_state(), from David Lebrun. 28) Missing dev_put() in error path of macsec_newlink(), from Dan Carpenter. Please pull, thanks a lot! The following changes since commit ce380619fab99036f5e745c7a865b21c59f005f6: Merge tag 'please-pull-ia64_misc' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux (2018-03-05 20:31:14 -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 5dcd8400884cc4a043a6d4617e042489e5d566a9: macsec: missing dev_put() on error in macsec_newlink() (2018-03-22 14:30:36 -0400) Alexander Potapenko (1): vhost_net: initialize rx_ring in vhost_net_open() Alexey Kodanev (2): sch_netem: fix skb leak in netem_enqueue() dccp: check sk for closed state in dccp_sendmsg() Andrei Otcheretianski (1): iwlwifi: mvm: Fix channel switch for count 0 and 1 Andrew Lunn (1): net: dsa: mv88e6xxx: Fix binding documentation for MDIO busses Andrew Zaborowski (1): mac80211_hwsim: Set wmediumd for new radios Andri Yngvason (3): can: cc770: Fix stalls on rt-linux, remove redundant IRQ ack can: cc770: Fix queue stall & dropped RTR reply can: cc770: Fix use after free in cc770_tx_interrupt() Arend Van Spriel (2): brcmfmac: add possibility to obtain firmware error brcmfmac: fix P2P_DEVICE ethernet address generation Arkadi Sharshevsky (2): team: Fix double free in error path devlink: Remove redundant free on error path Arvind Yadav (1): net/iucv: Free memory obtained by kzalloc Ben Caradoc-Davies (1): mac80211: add ieee80211_hw flag for QoS NDP support Benjamin Poirier (7): e1000e: Remove Other from EIAC Partial revert "e1000e: Avoid receiver overrun interrupt bursts" e1000e: Fix queue interrupt re-raising in Other interrupt e1000e: Avoid missed interrupts following ICR read e1000e: Fix check_for_link return value with autoneg off Revert "e1000e: Separate signaling for link check/link up" e1000e: Fix link check race condition Bich HEMON (1): can: m_can: select pinctrl state in each suspend/resume function Brad Mouring (1): net: phy: Tell caller result of phy_change() Camelia Groza (3): dpaa_eth: remove duplicate initialization dpaa_eth: increment the RX dropped counter when needed dpaa_eth: remove duplicate increment of the tx_errors counter Cathy Zhou (1): sunvnet: does not support GSO for sctp Chenbo Feng (1): bpf: skip unnecessary capability check Christophe JAILLET (1): net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred Colin Ian King (2): bnx2x: fix spelling mistake:
[GIT] Networking
1) Use an appropriate TSQ pacing shift in mac80211, from Toke Høiland-Jørgensen. 2) Just like ipv4's ip_route_me_harder(), we have to use skb_to_full_sk in ip6_route_me_harder, from Eric Dumazet. 3) Fix several shutdown races and similar other problems in l2tp, from James Chapman. 4) Handle missing XDP flush properly in tuntap, for real this time. From Jason Wang. 5) Out-of-bounds access in powerpc ebpf tailcalls, from Daniel Borkmann. 6) Fix phy_resume() locking, from Andrew Lunn. 7) IFLA_MTU values are ignored on newlink for some tunnel types, fix from Xin Long. 8) Revert F-RTO middle box workarounds, they only handle one dimension of the problem. From Yuchung Cheng. 9) Fix socket refcounting in RDS, from Ka-Cheong Poon. 10) Don't allow ppp unit registration to an unregistered channel, from Guillaume Nault. 11) Various hv_netvsc fixes from Stephen Hemminger. Please pull, thanks a lot! The following changes since commit 9cb9c07d6b0c5fd97d83b8ab14d7e308ba4b612f: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-02-23 15:14:17 -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 a7f0fb1bfb66ded5d556d6723d691b77a7146b6f: Merge branch 'hv_netvsc-minor-fixes' (2018-03-04 22:18:21 -0500) Andrew Lunn (1): net: phy: Restore phy_resume() locking assumption Arkadi Sharshevsky (2): devlink: Compare to size_new in case of resource child validation devlink: Fix resource coverity errors Arnd Bergmann (1): net: ipv4: avoid unused variable warning for sysctl Bassem Boubaker (1): cdc_ether: flag the Cinterion PLS8 modem by gemalto as WWAN Boris Pismenny (1): tls: Use correct sk->sk_prot for IPV6 Claudiu Manoil (1): gianfar: Fix Rx byte accounting for ndev stats Daniel Axtens (4): net: rename skb_gso_validate_mtu -> skb_gso_validate_network_len net: sched: tbf: handle GSO_BY_FRAGS case in enqueue net: xfrm: use skb_gso_validate_network_len() to check gso sizes net: make skb_gso_*_seglen functions private Daniel Borkmann (2): bpf: allow xadd only on aligned memory bpf, ppc64: fix out of bounds access in tail call David S. Miller (14): Merge branch 'l2tp-fix-API-races-discovered-by-syzbot' ARM: orion5x: Revert commit 4904dbda41c8. Merge branch 'for-upstream' of git://git.kernel.org/.../bluetooth/bluetooth Merge branch 'tunnel-mtu-fixes' Merge branch 's390-qeth-fixes' Merge branch 'tcp-revert-a-F-RTO-extension-due-to-broken-middle-boxes' Merge branch 'net-smc-fixes' Merge branch 'mlxsw-fixes' Merge git://git.kernel.org/.../bpf/bpf Merge tag 'mac80211-for-davem-2018-03-02' of git://git.kernel.org/.../jberg/mac80211 Merge git://git.kernel.org/.../pablo/nf Merge tag 'batadv-net-for-davem-20180302' of git://git.open-mesh.org/linux-merge Merge branch 'GSO_BY_FRAGS-correctness-improvements' Merge branch 'hv_netvsc-minor-fixes' Davide Caratti (2): net/smc: fix NULL pointer dereference on sock_create_kern() error path tc-testing: skbmod: fix match value of ethertype Denis Du (1): hdlc_ppp: carrier detect ok, don't turn off negotiation Edward Cree (1): net: ethtool: don't ignore return from driver get_fecparam method Emil Tantilov (1): ixgbe: fix crash in build_skb Rx code path Eric Dumazet (4): netfilter: use skb_to_full_sk in ip6_route_me_harder test_bpf: add a schedule point r8152: fix tx packets accounting test_bpf: reduce MAX_TESTRUNS Felix Fietkau (2): mac80211: drop frames with unexpected DS bits from fast-rx to slow path netfilter: nf_flow_table: fix checksum when handling DNAT Florian Westphal (7): netfilter: ipt_CLUSTERIP: put config struct if we can't increment ct refcount netfilter: ipt_CLUSTERIP: put config instead of freeing it netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt netfilter: bridge: ebt_among: add missing match size checks netfilter: ebtables: convert BUG_ONs to WARN_ONs netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets netfilter: don't set F_IFACE on ipv6 fib lookups Guillaume Nault (1): ppp: prevent unregistered channels from connecting to PPP units Hans de Goede (1): Bluetooth: btusb: Use DMI matching for QCA reset_resume quirking Ido Schimmel (3): bridge: Fix VLAN reference count problem mlxsw: spectrum: Treat IPv6 unregistered multicast as broadcast spectrum: Reference count VLAN entries James Chapman (5): l2tp: don't use inet_shutdown on tunnel destroy l2tp: don't use inet_shutdown on ppp session destroy l2tp: fix races with tunnel socket close l2tp: fix race in pppol2tp_release with session object destroy l2tp:
[GIT] Networking
1) Fix TTL offset calculation in mac80211 mesh code, from Peter Oh. 2) Fix races with procfs in ipt_CLUSTERIP, from Cong Wang. 3) Memory leak fix in lpm_trie BPF map code, from Yonghong Song. 4) Need to use GFP_ATOMIC in BPF cpumap allocations, from Jason Wang. 5) Fix potential deadlocks in netfilter getsockopt() code paths, from Paolo Abeni. 6) Netfilter stackpointer size checks really are needed to validate user input, from Florian Westphal. 7) Missing timer init in x_tables, from Paolo Abeni. 8) Don't use WQ_MEM_RECLAIM in mac80211 hwsim, from Johannes Berg. 9) When an ibmvnic device is brought down then back up again, it can be sent queue entries from a previous session, handle this properly instead of crashing. From Thomas Falcon. 10) Fix TCP checkums on LRO buffers in mlx5e, from Gal Pressman. 11) When we are dumping filters in cls_api, the output SKB is empty, and the filter we are dumping is too large for the space in the SKB, we should return -EMSGSIZE like other netlink dump operations do. Otherwise userland has no signal that is needs to increase the size of it's read buffer. From Roman Kapl. 12) Several XDP fixes for virtio_net, from Jesper Dangaard Brouer. 13) Module refcount leak in netlink when a dump start fails, from Jason A. Donenfeld. 14) Handle sub-optimal GSO sizes better in TCP BBR congestion control, from Eric Dumazet. 15) Releasing bpf per-cpu arraymaps can take a long time, add a condtional scheduling point. From Eric Dumazet. 16) Implement retpolines for tail calls in x64 and arm64 bpf JITs. From Daniel Borkmann. 17) Fix page leak in gianfar driver, from Andy Spencer. 18) Missed clearing of estimator scratch buffer, from Eric Dumazet. Please pull, thanks a lot! The following changes since commit 79c0ef3e85c015b0921a8fd5dd539d1480e9cd6c: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-02-19 11:58:19 -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 a5f7add332b4ea6d4b9480971b3b0f5e66466ae9: net_sched: gen_estimator: fix broken estimators based on percpu stats (2018-02-23 12:35:46 -0500) Alexey Kodanev (1): macvlan: fix use-after-free in macvlan_common_newlink() Anders Roxell (2): selftests/bpf: tcpbpf_kern: use in6_* macros from glibc selftests/bpf: update gitignore with test_libbpf_open Andy Spencer (1): gianfar: simplify FCS handling and fix memory leak Arnd Bergmann (3): cfg80211: fix cfg80211_beacon_dup bpf: clean up unused-variable warning ipv6 sit: work around bogus gcc-8 -Wrestrict warning Avraham Stern (1): cfg80211: clear wep keys after disconnection Cong Wang (2): netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation netfilter: ipt_CLUSTERIP: fix a refcount bug in clusterip_config_find_get() Dan Carpenter (1): net: aquantia: Fix error handling in aq_pci_probe() Daniel Borkmann (5): bpf: fix bpf_prog_array_copy_to_user warning from perf event prog query Merge branch 'bpf-bpftool-json-fixes' bpf: fix mlock precharge on arraymaps bpf, x64: implement retpoline for tail call bpf, arm64: fix out of bounds access in tail call Daniel Jurgens (1): net/mlx5: Use 128B cacheline size for 128B or larger cachelines David Ahern (1): net: ipv4: Set addr_type in hash_keys for forwarded case David Howells (1): rxrpc: Fix send in rxrpc_send_data_packet() David S. Miller (6): Merge git://git.kernel.org/.../pablo/nf Merge tag 'mlx5-fixes-2018-02-20' of git://git.kernel.org/.../saeed/linux Merge branch 'virtio_net-XDP-fixes' Merge git://git.kernel.org/.../bpf/bpf Merge tag 'mac80211-for-davem-2018-02-22' of git://git.kernel.org/.../jberg/mac80211 Merge git://git.kernel.org/.../bpf/bpf Eran Ben Elisha (1): net/mlx5e: Verify inline header size do not exceed SKB linear size Eric Dumazet (7): bpf: fix sock_map_alloc() error path netfilter: xt_hashlimit: fix lock imbalance netfilter: IDLETIMER: be syzkaller friendly smsc75xx: fix smsc75xx_set_features() tcp_bbr: better deal with suboptimal GSO bpf: add schedule points in percpu arrays management net_sched: gen_estimator: fix broken estimators based on percpu stats Eugenia Emantayev (1): net/mlx5: E-Switch, Fix drop counters use before creation Felix Fietkau (1): mac80211: round IEEE80211_TX_STATUS_HEADROOM up to multiple of 4 Finn Thain (1): net/smc9194: Remove bogus CONFIG_MAC reference Florian Westphal (10): netfilter: add back stackpointer size checks netfilter: x_tables: remove pr_info where possible netfilter: x_tables: use pr ratelimiting in xt core netfilter: xt_CT: use pr ratelimiting netfilter: xt_NFQUEUE: use pr
[GIT] Networking
1) Prevent index integer overflow in ptr_ring, from Jason Wang. 2) Program mvpp2 multicast filter properly, from Mikulas Patocka. 3) The bridge brport attribute file is write only and doesn't have a ->show() method, don't blindly invoke it. From Xin Long. 4) Inverted mask used in genphy_setup_forced(), from Ingo van Lil. 5) Fix multiple definition issue with if_ether.h UAPI header, from Hauke Mehrtens. 6) Fix GFP_KERNEL usage in atomic in RDS protocol code, from Sowmini Varadhan. 7) Revert XDP redirect support from thunderx driver, it is not implemented properly. From Jesper Dangaard Brouer. 8) Fix missing RTNL protection across some tipc operations, from Ying Xue. 9) Return the correct IV bytes in the TLS getsockopt code, from Boris Pismenny. 10) Take tclassid into consideration properly when doing FIB rule matching. From Stefano Brivio. 11) cxgb4 device needs more PCI VPD quirks, from Casey Leedom. 12) TUN driver doesn't align frags properly, and we can end up doing unaligned atomics on misaligned metadata. From Eric Dumazet. 13) Fix various crashes found using DEBUG_PREEMPT in rmnet driver, from Subash Abhinov Kasiviswanathan. Please pull, thanks a lot! The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -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 506b0a395f26e52b3f18827e0de1be051acb77ab: tg3: APE heartbeat changes (2018-02-19 14:16:52 -0500) Alexey Kodanev (1): udplite: fix partial checksum initialization Boris Pismenny (3): tls: retrun the correct IV in getsockopt tls: reset the crypto info if copy_from_user fails tls: getsockopt return record sequence number Casey Leedom (1): PCI/cxgb4: Extend T3 PCI quirk to T4+ devices Daniel Axtens (3): docs: segmentation-offloads.txt: update for UFO depreciation docs: segmentation-offloads.txt: Fix ref to SKB_GSO_TUNNEL_REMCSUM docs: segmentation-offloads.txt: add SCTP info David Howells (1): rxrpc: Work around usercopy check David S. Miller (6): Merge branch 'net-sched-couple-of-fixes' Merge branch 'ibmvnic-leaks' Merge branch 'tipc-locking-fixes' Merge branch 'net-segmentation-offload-doc-fixes' skbuff: Fix comment mis-spelling. Merge branch 'qualcomm-rmnet-Fix-issues-with-CONFIG_DEBUG_PREEMPT-enabled' Eric Dumazet (1): tun: fix tun_napi_alloc_frags() frag allocator Ganesh Goudar (1): cxgb4: free up resources of pf 0-3 Geert Uytterhoeven (2): ravb: Remove obsolete explicit clock handling for WoL sh_eth: Remove obsolete explicit clock handling for WoL Hauke Mehrtens (1): uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define Ido Schimmel (1): mlxsw: spectrum_router: Do not unconditionally clear route offload indication Ilya Lesokhin (1): tcp: Honor the eor bit in tcp_mtu_probe Ingo van Lil (1): net: phy: fix wrong mask to phy_modify() Jakub Kicinski (1): net: fix race on decreasing number of TX queues Jan Glauber (1): net: cavium: fix NULL pointer dereference in cavium_ptp_put Jason Wang (1): ptr_ring: prevent integer overflow when calculating size Jesper Dangaard Brouer (1): Revert "net: thunderx: Add support for xdp redirect" Jiri Pirko (3): mlxsw: spectrum_router: Fix error path in mlxsw_sp_vr_create net: sched: don't set q pointer for shared blocks net: sched: fix tc_u_common lookup Kees Cook (1): NFC: llcp: Limit size of SDP URI Mika Westerberg (2): net: thunderbolt: Tear down connection properly on suspend net: thunderbolt: Run disconnect flow asynchronously when logout is received Mikulas Patocka (1): mvpp2: fix multicast address filter Paolo Abeni (1): dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock Prashant Sreedharan (1): tg3: APE heartbeat changes Rahul Lakkireddy (1): cxgb4: fix trailing zero in CIM LA dump Sowmini Varadhan (1): rds: do not call ->conn_alloc with GFP_KERNEL Stefano Brivio (1): fib_semantics: Don't match route with mismatching tclassid Subash Abhinov Kasiviswanathan (3): net: qualcomm: rmnet: Fix crash on real dev unregistration net: qualcomm: rmnet: Fix warning seen with 64 bit stats net: qualcomm: rmnet: Fix possible null dereference in command processing Thomas Falcon (5): ibmvnic: Wait until reset is complete to set carrier on ibmvnic: Fix login buffer memory leaks ibmvnic: Fix NAPI structures memory leak ibmvnic: Free RX socket buffer in case of adapter error ibmvnic: Clean RX pool buffers during device close Tobias Klauser (1): net: af_unix: fix typo in UNIX_SKB_FRAGS_SZ comment Xin Long (6): bridge: check brport attr
[GIT] Networking
1) Make allocations less aggressive in x_tables, from Minchal Hocko. 2) Fix netfilter flowtable Kconfig deps, from Pablo Neira Ayuso. 3) Fix connection loss problems in rtlwifi, from Larry Finger. 4) Correct DRAM dump length for some chips in ath10k driver, from Yu Wang. 5) Fix ABORT handling in rxrpc, from David Howells. 6) Add SPDX tags to Sun networking drivers, from Shannon Nelson. 7) Some ipv6 onlink handling fixes, from David Ahern. 8) Netem packet scheduler interval calcualtion fix from Md. Islam. 9) Don't put crypto buffers on-stack in rxrpc, from David Howells. 10) Fix handling of error non-delivery status in netlink multicast delivery over multiple namespaces, from Nicolas Dichtel. 11) Missing xdp flush in tuntap driver, from Jason Wang. 12) Synchonize RDS protocol netns/module teardown with rds object management, from Sowini Varadhan. 13) Add nospec annotations to mpls, from Dan Williams. 14) Fix SKB truesize handling in TIPC, from Hoang Le. 15) Interrupt masking fixes in stammc from Niklas Cassel. 16) Don't allow ptr_ring objects to be sized outside of kmalloc's limits, from Jason Wang. 17) Don't allow SCTP chunks to be built which will have a length exceeding the chunk header's 16-bit length field, from Alexey Kodanev. Please pull, thanks a lot! The following changes since commit a2e5790d841658485d642196dbb0927303d6c22f: Merge branch 'akpm' (patches from Andrew) (2018-02-06 22:15:42 -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 2fa56a494484f19e06bf4f3464b2155a92beafac: ibmvnic: Remove skb->protocol checks in ibmvnic_xmit (2018-02-09 14:47:00 -0500) Alexey Kodanev (1): sctp: verify size of a new chunk in _sctp_make_chunk() Amritha Nambiar (1): i40e: Fix the number of queues available to be mapped for use Christian Brauner (1): rtnetlink: require unique netns identifier Christophe JAILLET (1): cxgb4: Fix error handling path in 'init_one()' Cong Wang (2): netfilter: xt_cgroup: initialize info->priv in cgroup_mt_check_v1() netfilter: xt_RATEEST: acquire xt_rateest_mutex for hash insert Dan Williams (1): mpls, nospec: Sanitize array index in mpls_label_ok() Daniel Borkmann (4): Merge branch 'bpf-sockmap-fixes' Merge branch 'bpf-misc-nfp-bpftool-doc-fixes' Merge branch 'bpf-libbpf-relo-fix-and-tests' bpf: fix rlimit in reuseport net selftest David Ahern (2): net/ipv6: Handle reject routes with onlink flag net/ipv6: onlink nexthop checks should default to main table David Howells (2): rxrpc: Fix received abort handling rxrpc: Don't put crypto buffers on the stack David S. Miller (6): Merge git://git.kernel.org/.../pablo/nf Merge branch 'nfp-fix-disabling-TC-offloads-in-flower-max-TSO-segs-and-module-version' Merge tag 'wireless-drivers-next-for-davem-2018-02-08' of git://git.kernel.org/.../kvalo/wireless-drivers-next Merge git://git.kernel.org/.../bpf/bpf Merge branch 'stmmac-irq-fixes-cleanups' Merge branch 's390-qeth-fixes' Dean Nelson (1): net: thunder: change q_len's type to handle max ring size Felix Fietkau (5): mt76: implement AP_LINK_PS mt76: implement processing of BlockAckReq frames mt76: avoid re-queueing A-MPDU rx reorder work if no frames are pending mt76: do not set status->aggr for NULL data frames netfilter: nf_flow_offload: fix use-after-free and a resource leak Grygorii Strashko (1): net: ethernet: ti: cpsw: fix net watchdog timeout Gustavo A. R. Silva (1): atm: he: use 64-bit arithmetic instead of 32-bit Heiner Kallweit (1): net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT Hoang Le (1): tipc: fix skb truesize/datasize ratio control Ivan Vecera (1): net/sched: cls_u32: fix cls_u32 on filter replace Jakub Kicinski (6): nfp: bpf: fix immed relocation for larger offsets nfp: bpf: require ETH table nfp: don't advertise hw-tc-offload on non-port netdevs nfp: forbid disabling hw-tc-offload on representors while offload active nfp: limit the number of TSO segments nfp: populate MODULE_VERSION Jason Wang (3): tuntap: add missing xdp flush ptr_ring: fail early if queue occupies more than KMALLOC_MAX_SIZE ptr_ring: try vmalloc() when kmalloc() fails Jesper Dangaard Brouer (5): bpf: Sync kernel ABI header with tooling header for bpf_common.h tools/libbpf: improve the pr_debug statements to contain section numbers selftests/bpf: add test program for loading BPF ELF files selftests/bpf: add selftest that use test_libbpf_open tools/libbpf: handle issues with bpf ELF objects containing .eh_frames John Allen (2): ibmvnic: Fix rx queue cleanup for non-fatal resets ibmvnic:
[GIT] Networking
1) Fix error path in netdevsim, from Jakub Kicinski. 2) Default values listed in tcp_wmem and tcp_rmem documentation were inaccurate, from Tonghao Zhang. 3) Fix route leaks in SCTP, both for ipv4 and ipv6. From Alexey Kodanev and Tommi Rantala. 4) Fix "MASK < Y" meant to be "MASK << Y" in xgbe driver, from Wolfram Sang. 5) Use after free in u32_destroy_key(), from Paolo Abeni. 6) Fix two TX issues in be2net driver, from Suredh Reddy. Please pull, thanks a lot! The following changes since commit 35277995e17919ab838beae765f440674e8576eb: Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2018-02-04 11:45:55 -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 176bfb406d735655f9a69d868a7af0c3da959d51: Merge branch 'be2net-patch-set' (2018-02-06 11:48:40 -0500) Alexei Starovoitov (2): bpf: fix bpf_prog_array_copy_to_user() issues Merge branch 'libbpf-xdp-support' Alexey Kodanev (1): sctp: fix dst refcnt leak in sctp_v6_get_dst() Andrew Lunn (1): net: phy: Handle not having GPIO enabled in the kernel Daniel Borkmann (1): bpf: fix null pointer deref in bpf_prog_test_run_xdp David S. Miller (3): Merge git://git.kernel.org/.../bpf/bpf Merge branch 'net-erspan-fixes' Merge branch 'be2net-patch-set' Desnes Augusto Nunes do Rosario (1): ibmvnic: fix empty firmware version and errors cleanup Eric Leblond (5): tools: add netlink.h and if_link.h in tools uapi libbpf: add function to setup XDP libbpf: add error reporting in XDP libbpf: add missing SPDX-License-Identifier samples/bpf: use bpf_set_link_xdp_fd Guanglei Li (1): RDS: IB: Fix null pointer issue Jakub Kicinski (2): netdevsim: fix overflow on the error path nfp: fix kdoc warnings on nested structures Jie Deng (1): dwc-xlgmac: remove Jie Deng as co-maintainer Paolo Abeni (1): cls_u32: fix use after free in u32_destroy_key() Suresh Reddy (2): be2net: Fix HW stall issue in Lancer be2net: Handle transmit completion errors in Lancer Tommi Rantala (1): sctp: fix dst refcnt leak in sctp_v4_get_dst Tonghao Zhang (1): doc: Change the min default value of tcp_wmem/tcp_rmem. William Tu (3): net: erspan: fix metadata extraction net: erspan: fix erspan config overwrite sample/bpf: fix erspan metadata Wolfram Sang (1): net: amd-xgbe: fix comparison to bitshift when dealing with a mask Yonghong Song (2): tools/bpf: permit selftests/bpf to be built in a different directory bpf: add documentation to compare clang "-target bpf" and default target Documentation/bpf/bpf_devel_QA.txt| 31 +++ Documentation/networking/ip-sysctl.txt| 4 +- MAINTAINERS | 1 - drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 2 +- drivers/net/ethernet/emulex/benet/be.h| 7 +- drivers/net/ethernet/emulex/benet/be_ethtool.c| 1 + drivers/net/ethernet/emulex/benet/be_hw.h | 1 + drivers/net/ethernet/emulex/benet/be_main.c | 113 +- drivers/net/ethernet/ibm/ibmvnic.c| 14 +- drivers/net/ethernet/netronome/nfp/bpf/main.h | 24 +-- drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c | 10 +- drivers/net/ethernet/netronome/nfp/nfp_net.h | 6 +- drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h | 43 ++-- drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c | 21 +- drivers/net/netdevsim/bpf.c | 5 +- drivers/net/phy/mdio_bus.c| 3 +- include/linux/netdevice.h | 6 + include/net/erspan.h | 26 +-- kernel/bpf/core.c | 32 ++- net/bpf/test_run.c| 4 + net/ipv4/ip_gre.c | 14 +- net/ipv6/ip6_gre.c| 15 +- net/rds/ib.c | 3 +- net/sched/cls_u32.c | 21 +- net/sctp/ipv6.c | 10 +- net/sctp/protocol.c | 10 +- samples/bpf/Makefile | 2 +- samples/bpf/bpf_load.c| 102 - samples/bpf/bpf_load.h| 2 +- samples/bpf/tcbpf2_kern.c | 41 ++-- samples/bpf/test_tunnel_bpf.sh| 4 +- samples/bpf/xdp1_user.c
[GIT] Networking
1) The bnx2x can hang if you give it a GSO packet with a segment size which is too big for the hardware, detect and drop in this case. From Daniel Axtens. 2) Fix some overflows and pointer leaks in xtables, from Dmitry Vyukov. 3) Missing RCU locking in igmp, from Eric Dumazet. 4) Fix RX checksum handling on r8152, it can only checksum UDP and TCP packets. From Hayes Wang. 5) Minor pacing tweak to TCP BBR congestion control, from Neal Cardwell. 6) Missing RCU annotations in cls_u32, from Paolo Abeni. Please pull, thanks a lot! The following changes since commit 255442c93843f52b6891b21d0b485bf2c97f93c3: Merge tag 'docs-4.16' of git://git.lwn.net/linux (2018-01-31 19:25:25 -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 edbe69ef2c90fc86998a74b08319a01c508bd497: Revert "defer call to mem_cgroup_sk_alloc()" (2018-02-02 19:49:31 -0500) Alexander Monakov (1): net: pxa168_eth: add netconsole support Arnd Bergmann (3): net: cxgb4: avoid memcpy beyond end of source buffer net: qed: use correct strncpy() size net: qlge: use memmove instead of skb_copy_to_linear_data Christian Brauner (1): rtnetlink: remove check for IFLA_IF_NETNSID Colin Ian King (4): be2net: remove redundant initialization of 'head' and pointer txq net: jme: remove unused initialization of 'rxdesc' lan78xx: remove redundant initialization of pointer 'phydev' vmxnet3: remove redundant initialization of pointer 'rq' Daniel Axtens (2): net: create skb_gso_validate_mac_len() bnx2x: disable GSO where gso_size is too big for hardware David S. Miller (3): Merge branch 'bnx2x-disable-GSO-on-too-large-packets' Merge git://git.kernel.org/.../pablo/nf Merge branch 'r8152-fix-rx-issues' Desnes Augusto Nunes do Rosario (1): ibmvnic: fix firmware version when no firmware level has been provided by the VIOS server Dmitry Vyukov (3): netfilter: x_tables: fix int overflow in xt_alloc_table_info() netfilter: x_tables: fix pointer leaks to userspace netfilter: ipt_CLUSTERIP: fix out-of-bounds accesses in clusterip_tg_check() Ed Swierk (1): openvswitch: Remove padding from packet before L3+ conntrack processing Edwin Peer (1): nfp: fix TLV offset calculation Eric Dumazet (3): netfilter: x_tables: avoid out-of-bounds reads in xt_request_find_{match|target} net: igmp: add a missing rcu locking section soreuseport: fix mem leak in reuseport_add_sock() Geert Uytterhoeven (2): net: bridge: Fix uninitialized error in br_fdb_sync_static() inet: Avoid unitialized variable warning in inet_unhash() Hayes Wang (2): r8152: fix wrong checksum status for received IPv4 packets r8152: set rx mode early when linking on Jiri Pirko (1): rocker: fix possible null pointer dereference in rocker_router_fib_event_work Jozsef Kadlecsik (1): netfilter: ipset: Fix wraparound in hash:*net* types Neal Cardwell (1): tcp_bbr: fix pacing_gain to always be unity when using lt_bw Paolo Abeni (2): netfilter: on sockopt() acquire sock lock only in the required scope cls_u32: add missing RCU annotation. Roman Gushchin (1): Revert "defer call to mem_cgroup_sk_alloc()" drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 18 ++ drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h| 2 +- drivers/net/ethernet/emulex/benet/be_main.c | 3 +-- drivers/net/ethernet/ibm/ibmvnic.c| 6 +- drivers/net/ethernet/jme.c| 2 +- drivers/net/ethernet/marvell/pxa168_eth.c | 12 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c | 2 +- drivers/net/ethernet/qlogic/qed/qed_debug.c | 6 ++ drivers/net/ethernet/qlogic/qlge/qlge_main.c | 3 +-- drivers/net/ethernet/rocker/rocker_main.c | 18 +- drivers/net/usb/lan78xx.c | 2 +- drivers/net/usb/r8152.c | 13 ++--- drivers/net/vmxnet3/vmxnet3_drv.c | 6 ++ include/linux/skbuff.h| 16 mm/memcontrol.c | 14 ++ net/bridge/br_fdb.c | 2 +- net/core/rtnetlink.c | 3 --- net/core/skbuff.c | 63 ++- net/core/sock.c | 5 + net/core/sock_reuseport.c | 35 --- net/ipv4/igmp.c | 4 net/ipv4/inet_connection_sock.c | 1 - net/ipv4/inet_hashtables.c| 6 ++
[GIT] Networking
1) The per-network-namespace loopback device, and thus it's namespace, can have it's teardown deferred for a long time if a kernel created TCP socket closes and the namespace is exiting meanwhile. The kernel keeps trying to finish the close sequence until it times out (which takes quite some time). Fix this by forcing the socket closed in this situation, from Dan Streetman. 2) Fix regression where we're trying to invoke the update_pmtu method on route types (in this case metadata tunnel routes) that don't implement the dst_ops method. Fix from Nicolas Dichtel. 3) Fix long standing memory corruption issues in r8169 driver by performing the chip statistics DMA programming more correctly. From Francois Romieu. 4) Handle local broadcast sends over VRF routes properly, from David Ahern. 5) Don't refire the DCCP CCID2 timer endlessly, otherwise the socket can never be released. From Alexey Kodanev. 6) Set poll flags properly in VSOCK protocol layer, from Stefan Hajnoczi. Please pull, thanks a lot! The following changes since commit 5b7d27967dabfb17c21b0d98b29153b9e3ee71e5: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-01-24 17:24:30 -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 ba3169fc7548759be986b168d662e0ba64c2fd88: VSOCK: set POLLOUT | POLLWRNORM for TCP_CLOSING (2018-01-26 11:16:27 -0500) Alexey Kodanev (1): dccp: don't restart ccid2_hc_tx_rto_expire() if sk in closed state Dan Streetman (1): net: tcp: close sock if net namespace is exiting David Ahern (1): net: vrf: Add support for sends to local broadcast address Francois Romieu (1): r8169: fix memory corruption on retrieval of hardware statistics. Nicolas Dichtel (1): net: don't call update_pmtu unconditionally Stefan Hajnoczi (1): VSOCK: set POLLOUT | POLLWRNORM for TCP_CLOSING drivers/infiniband/ulp/ipoib/ipoib_cm.c | 3 +-- drivers/net/ethernet/realtek/r8169.c| 9 ++--- drivers/net/geneve.c| 4 ++-- drivers/net/vrf.c | 5 +++-- drivers/net/vxlan.c | 6 ++ include/net/dst.h | 8 include/net/net_namespace.h | 10 ++ net/dccp/ccids/ccid2.c | 3 +++ net/ipv4/ip_tunnel.c| 3 +-- net/ipv4/ip_vti.c | 2 +- net/ipv4/tcp.c | 3 +++ net/ipv4/tcp_timer.c| 15 +++ net/ipv6/ip6_tunnel.c | 6 ++ net/ipv6/ip6_vti.c | 2 +- net/ipv6/sit.c | 4 ++-- net/vmw_vsock/af_vsock.c| 2 +- 16 files changed, 57 insertions(+), 28 deletions(-)
[GIT] Networking
1) Avoid negative netdev refcount in error flow of xfrm state add, from Aviad Yehezkel. 2) Fix tcpdump decoding of IPSEC decap'd frames by filling in the ethernet header protocol field in xfrm{4,6}_mode_tunnel_input(). From Yossi Kuperman. 3) Fix a syzbot triggered skb_under_panic in pppoe having to do with failing to allocate an appropriate amount of headroom. From Guillaume Nault. 4) Fix memory leak in vmxnet3 driver, from Neil Horman. 5) Cure out-of-bounds packet memory access in em_nbyte EMATCH module, from Wolfgang Bumiller. 6) Restrict what kinds of sockets can be bound to the KCM multiplexer and also disallow when another layer has attached to the socket and made use of sk_user_data. From Tom Herbert. 7) Fix use before init of IOTLB in vhost code, from Jason Wang. 8) Correct STACR register write bit definition in IBM emac driver, from Ivan Mikhaylov. Please pull, thanks a lot. The following changes since commit a84a8ab94ed5cb65a1355fe9e8d1d55283375808: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-01-23 08:52:55 -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 624ca9c33c8a853a4a589836e310d776620f4ab9: net/ibm/emac: wrong bit is used for STA control register write (2018-01-24 18:10:57 -0500) Aviad Yehezkel (1): xfrm: fix error flow in case of add state fails Ben Hutchings (1): ipv6: Fix getsockopt() for sockets with default IPV6_AUTOFLOWLABEL David S. Miller (3): Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec Merge branch 'kcm-fix-two-syzcaller-issues' Merge branch 'qed-rdma-bug-fixes' Guillaume Nault (1): pppoe: take ->needed_headroom of lower device into account on xmit Gustavo A. R. Silva (1): xfrm: fix boolean assignment in xfrm_get_type_offload Ivan Mikhaylov (2): net/ibm/emac: add 8192 rx/tx fifo size net/ibm/emac: wrong bit is used for STA control register write Jakub Kicinski (1): i40e: flower: check if TC offload is enabled on a netdev Jason Wang (2): vhost: use mutex_lock_nested() in vhost_dev_lock_vqs() vhost: do not try to access device IOTLB when not initialized Michal Kalderon (2): qed: Remove reserveration of dpi for kernel qed: Free reserved MR tid Neil Horman (1): vmxnet3: repair memory leak Tom Herbert (2): kcm: Only allow TCP sockets to be attached to a KCM mux kcm: Check if sk_user_data already set in kcm_attach Wolfgang Bumiller (2): net: sched: em_nbyte: don't add the data offset twice net: sched: fix TCF_LAYER_LINK case in tcf_get_base_ptr Yossi Kuperman (2): xfrm: Add SA to hardware at the end of xfrm_state_construct() xfrm: Fix eth_hdr(skb)->h_proto to reflect inner IP version Yuval Mintz (1): mlxsw: spectrum_router: Don't log an error on missing neighbor drivers/net/ethernet/ibm/emac/core.c | 6 ++ drivers/net/ethernet/ibm/emac/emac.h | 4 +++- drivers/net/ethernet/intel/i40e/i40e_main.c | 2 ++ drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 10 ++ drivers/net/ethernet/qlogic/qed/qed_rdma.c| 31 +-- drivers/net/ppp/pppoe.c | 11 ++- drivers/net/vmxnet3/vmxnet3_drv.c | 2 +- drivers/vhost/vhost.c | 6 +- include/net/ipv6.h| 1 + include/net/pkt_cls.h | 2 +- net/ipv4/xfrm4_mode_tunnel.c | 1 + net/ipv6/ip6_output.c | 2 +- net/ipv6/ipv6_sockglue.c | 2 +- net/ipv6/xfrm6_mode_tunnel.c | 1 + net/kcm/kcmsock.c | 25 + net/sched/em_nbyte.c | 2 +- net/xfrm/xfrm_device.c| 1 + net/xfrm/xfrm_state.c | 12 net/xfrm/xfrm_user.c | 18 +++--- 19 files changed, 90 insertions(+), 49 deletions(-)
[GIT] Networking
1) Fix divide by zero in mlx5, from Talut Batheesh. 2) Guard against invalid GSO packets coming from untrusted guests and arriving in qdisc_pkt_len_init(), from Eric Dumazet. 3) Similarly add such protection to the various protocol GSO handlers. From Willem de Bruijn. 4) Fix regression added to IGMP source address checking for IGMPv3 reports, from Felix Feitkau. Please pull, thanks a lot! The following changes since commit ec835f8104a21f4d4eeb9d316ee71d2b4a7f00de: Merge tag 'trace-v4.15-rc4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace (2018-01-19 11:38:19 -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 7a8c4dd9be91a7e8f8f0e0419a560663adc694a3: tls: Correct length of scatterlist in tls_sw_sendpage (2018-01-22 16:25:21 -0500) Dave Watson (1): tls: Correct length of scatterlist in tls_sw_sendpage David S. Miller (2): Merge branch 'cxgb4-tc-flower-offload-fixes' Merge branch 'ibmvnic-reset-behavior-fixes' Eric Dumazet (1): net: qdisc_pkt_len_init() should be more robust Felix Fietkau (1): net: igmp: fix source address check for IGMPv3 reports Ivan Vecera (1): be2net: restore properly promisc mode after queues reconfiguration John Allen (3): ibmvnic: Modify buffer size and number of queues on failover ibmvnic: Revert to previous mtu when unsupported value requested ibmvnic: Allocate and request vpd in init_resources Kumar Sanghvi (2): cxgb4: set filter type to 1 for ETH_P_IPV6 cxgb4: fix endianness for vlan value in cxgb4_tc_flower Oliver Neukum (1): usbnet: silence an unnecessary warning Sowmini Varadhan (1): rds: tcp: compute m_ack_seq as offset from ->write_seq Talat Batheesh (1): net/mlx5e: Fix fixpoint divide exception in mlx5e_am_stats_compare Willem de Bruijn (1): gso: validate gso_type in GSO handlers drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c | 7 +-- drivers/net/ethernet/emulex/benet/be_main.c | 9 + drivers/net/ethernet/ibm/ibmvnic.c | 73 ++--- drivers/net/ethernet/ibm/ibmvnic.h | 2 ++ drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.c | 6 ++ drivers/net/usb/usbnet.c | 8 +++- net/core/dev.c | 19 +++ net/ipv4/esp4_offload.c | 3 +++ net/ipv4/igmp.c | 2 +- net/ipv4/tcp_offload.c | 3 +++ net/ipv4/udp_offload.c | 3 +++ net/ipv6/esp6_offload.c | 3 +++ net/ipv6/tcpv6_offload.c | 3 +++ net/ipv6/udp_offload.c | 3 +++ net/rds/tcp.c| 5 +++-- net/rds/tcp.h| 2 +- net/rds/tcp_send.c | 4 ++-- net/sctp/offload.c | 3 +++ net/tls/tls_sw.c | 2 ++ 19 files changed, 128 insertions(+), 32 deletions(-)
[GIT] Networking
1) Fix BPF divides by zero, from Eric Dumazet and Alexei Starovoitov. 2) Reject stores into bpf context via st and xadd, from Daniel Borkmann. 3) Fix a memory leak in TUN, from Cong Wang. 4) Disable RX aggregation on a specific troublesome configuration of r8152 in a Dell TB16b dock. 5) Fix sw_ctx leak in tls, from Sabrina Dubroca. 6) Fix program replacement in cls_bpf, from Daniel Borkmann. 7) Fix uninitialized station_info structures in cfg80211, from Johannes Berg. 8) Fix miscalculation of transport header offset field in flow dissector, from Eric Dumazet. 9) Fix LPM tree leak on failure in mlxsw driver, from Ido Schimmel. Please pull, thanks a lot! The following changes since commit 8cbab92dff778e516064c13113ca15d4869ec883: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (2018-01-16 16:47:40 -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 a0dca10fce42ae82651edbe682b1c637a8ecd365: ibmvnic: Fix IPv6 packet descriptors (2018-01-18 21:19:06 -0500) Alexei Starovoitov (1): bpf: fix 32-bit divide by zero Alexey Kodanev (1): ip6_gre: init dev->mtu and dev->hard_header_len correctly Arnd Bergmann (1): fm10k: mark PM functions as __maybe_unused Christophe Leroy (1): net: fs_enet: do not call phy_stop() in interrupts Cong Wang (1): tun: fix a memory leak for tfile->tx_array Daniel Borkmann (4): bpf, arm64: fix stack_depth tracking in combination with tail calls bpf: reject stores into ctx via st and xadd bpf: fix cls_bpf on filter replace bpf: mark dst unknown on inconsistent {s, u}bounds adjustments David S. Miller (4): Merge tag 'linux-can-fixes-for-4.15-20180116' of ssh://gitolite.kernel.org/.../mkl/linux-can Merge git://git.kernel.org/.../bpf/bpf Merge tag 'wireless-drivers-for-davem-2018-01-17' of git://git.kernel.org/.../kvalo/wireless-drivers Merge tag 'linux-can-fixes-for-4.15-20180118' of ssh://gitolite.kernel.org/.../mkl/linux-can Eric Dumazet (2): bpf: fix divides by zero flow_dissector: properly cap thoff field Guenter Roeck (1): bcma: Fix 'allmodconfig' and BCMA builds on MIPS targets Ido Schimmel (1): mlxsw: spectrum_router: Free LPM tree upon failure Ilya Lesokhin (1): net/tls: Only attach to sockets in ESTABLISHED state James Hogan (1): ssb: Disable PCI host for PCI_DRIVERS_GENERIC Johannes Berg (1): cfg80211: fix station info handling bugs Kai-Heng Feng (1): r8152: disable RX aggregation on Dell TB16 dock Marc Kleine-Budde (2): can: af_can: can_rcv(): replace WARN_ONCE by pr_warn_once can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once Rex Chang (1): Net: ethernet: ti: netcp: Fix inbound ping crash if MTU size is greater than 1500 Sabrina Dubroca (3): tls: fix sw_ctx leak tls: return -EBUSY if crypto_info is already set tls: reset crypto_info when do_tls_setsockopt_tx fails Stephane Grosjean (1): can: peak: fix potential bug in packet fragmentation Thomas Falcon (2): ibmvnic: Fix IP offload control buffer ibmvnic: Fix IPv6 packet descriptors Wei Wang (1): ipv6: don't let tb6_root node share routes with other node Wright Feng (1): brcmfmac: fix CLM load error for legacy chips when user helper is enabled Xin Long (1): netlink: reset extack earlier in netlink_rcv_skb arch/arm64/net/bpf_jit_comp.c | 20 ++- drivers/bcma/Kconfig | 2 +- drivers/net/can/usb/peak_usb/pcan_usb_fd.c| 21 +-- drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | 16 +++-- drivers/net/ethernet/freescale/fs_enet/fs_enet.h | 1 + drivers/net/ethernet/ibm/ibmvnic.c| 24 - drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 9 ++--- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 20 +++ drivers/net/ethernet/ti/netcp_core.c | 2 +- drivers/net/tun.c | 15 ++-- drivers/net/usb/r8152.c | 13 +++ drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c | 9 ++--- drivers/ssb/Kconfig | 2 +- kernel/bpf/core.c | 4 +-- kernel/bpf/verifier.c | 64 +++-- net/can/af_can.c | 36 --- net/core/filter.c | 4 +++ net/core/flow_dissector.c | 3 +- net/ipv6/ip6_fib.c| 10 --
[GIT] Networking
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
[GIT] Networking
1) BPF speculation prevention and BPF_JIT_ALWAYS_ON, from Alexei Starovoitov. 2) Revert dev_get_random_name() changes as adjust the error code returns seen by userspace definitely breaks stuff. 3) Fix TX DMA map/unmap on older iwlwifi devices, from Emmanuel Grumbach. 4) From wrong AF family when requesting sock diag modules, from Andrii Vladyka. 5) Don't add new ipv6 routes attached to the null_entry, from Wei Wang. 6) Some SCTP sockopt length fixes from Marcelo Ricardo Leitner. 7) Don't leak when removing VLAN ID 0, from Cong Wang. 8) Hey there's a potential leak in ipv6_make_skb() too, from Eric Dumazet. Please pull, thanks a lot. The following changes since commit ef7f8cec80a0ba7bd00ece46844c8994117dc910: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-01-08 20:21:39 -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 ccc12b11c5332c84442ef120dcd631523be75089: ipv6: sr: fix TLVs not being copied using setsockopt (2018-01-10 16:03:55 -0500) Alexei Starovoitov (3): selftests/bpf: fix test_align bpf: prevent out-of-bounds speculation bpf: introduce BPF_JIT_ALWAYS_ON config Andrii Vladyka (1): net: core: fix module type in sock_diag_bind Cong Wang (1): 8021q: fix a memory leak for VLAN 0 device Daniel Borkmann (1): bpf: avoid false sharing of map refcount with max_entries David S. Miller (5): Merge branch 'Ether-fixes-for-the-SolutionEngine771x-boards' Merge git://git.kernel.org/.../bpf/bpf Merge branch 'sctp-Some-sockopt-optlen-fixes' Merge tag 'wireless-drivers-for-davem-2018-01-09' of git://git.kernel.org/.../kvalo/wireless-drivers Merge branch 'mlxsw-couple-of-fixes' Emmanuel Grumbach (1): iwlwifi: pcie: fix DMA memory mapping / unmapping Eric Dumazet (1): ipv6: fix possible mem leaks in ipv6_make_skb() Jakub Kicinski (1): nfp: always unmask aux interrupts at init Jiri Pirko (1): mlxsw: spectrum_qdisc: Don't use variable array in mlxsw_sp_tclass_congestion_enable John Fastabend (1): bpf: sockmap missing NULL psock check Kalle Valo (1): Merge ath-current from git://git.kernel.org/.../kvalo/ath.git Kornilios Kourtis (1): doc: clarification about setting SO_ZEROCOPY Loic Poulain (1): wcn36xx: Fix dynamic power saving Madalin Bucur (1): of_mdio: avoid MDIO bus removal when a PHY is missing Marcelo Ricardo Leitner (3): sctp: GFP_ATOMIC is not needed in sctp_setsockopt_events sctp: add a ceiling to optlen in some sockopts sctp: make use of pre-calculated len Mathieu Xhonneux (1): ipv6: sr: fix TLVs not being copied using setsockopt Mike Rapoport (1): docs-rst: networking: wire up msg_zerocopy Nicolai Stange (1): net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg() Sergei Shtylyov (2): SolutionEngine771x: fix Ether platform data SolutionEngine771x: add Ether TSU resource Wei Wang (1): ipv6: remove null_entry before adding default route Xiongfeng Wang (2): net: caif: use strlcpy() instead of strncpy() caif_usb: use strlcpy() instead of strncpy() Yangbo Lu (1): net: gianfar_ptp: move set_fipers() to spinlock protecting area Yuval Mintz (1): mlxsw: pci: Wait after reset before accessing HW Documentation/networking/index.rst | 2 +- Documentation/networking/msg_zerocopy.rst| 4 arch/sh/boards/mach-se/770x/setup.c | 24 arch/sh/include/mach-se/mach/se.h| 1 + drivers/net/ethernet/freescale/gianfar_ptp.c | 3 +-- drivers/net/ethernet/mellanox/mlxsw/pci.c| 7 ++- drivers/net/ethernet/mellanox/mlxsw/pci_hw.h | 1 + drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c | 7 --- drivers/net/ethernet/netronome/nfp/nfp_net_common.c | 2 ++ drivers/net/wireless/ath/wcn36xx/main.c | 23 --- drivers/net/wireless/ath/wcn36xx/pmc.c | 6 -- drivers/net/wireless/intel/iwlwifi/pcie/internal.h | 10 +++--- drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c| 11 +++ drivers/net/wireless/intel/iwlwifi/pcie/tx.c | 8 drivers/of/of_mdio.c | 9 +++-- include/linux/bpf.h | 26 ++ init/Kconfig | 7 +++ kernel/bpf/arraymap.c| 47 --- kernel/bpf/core.c| 19 +++ kernel/bpf/sockmap.c | 11 +-- kernel/bpf/verifier.c| 36
[GIT] Networking
Highlights: 1) Frag and UDP handling fixes in i40e driver, from Amritha Nambiar and Alexander Duyck. 2) Undo unintentional UAPI change in netfilter conntrack, from Florian Westphal. 3) Revert a change to how error codes are returned from dev_get_valid_name(), it broke some apps. 4) Cannot cache routes for ipv6 tunnels in the tunnel is ipv4/ipv6 dual-stack. From Eli Cooper. 5) Fix missed PMTU updates in geneve, from Xin Long. 6) Cure double free in macvlan, from Gao Feng. 7) Fix heap out-of-bounds write in rds_message_alloc_sgs(), from Mohamed Ghannam. 8) FEC bug fixes from FUgang Duan (mis-accounting of dev_id, missed deferral of probe when the regulator is not ready yet). 9) Missing DMA mapping error checks in 3c59x, from Neil Horman. 10) Turn off Broadcom tags for some b53 switches, from Florian Fainelli. 11) Fix OOPS when get_target_net() is passed an SKB whose NETLINK_CB() isn't initialized. From Andrei Vagin. 12) Fix crashes in fib6_add(), from Wei Wang. 13) PMTU bug fixes in SCTP from Marcelo Ricardo Leitner. Please pull, thanks a lot! The following changes since commit 2758b3e3e630ba304fc4aca434d591e70e528298: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-12-28 23:20:21 -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 50f3d740d376f664f6accc7e86c9afd8f1c7e1e4: sh_eth: fix TXALCR1 offsets (2018-01-08 14:31:38 -0500) Alexander Duyck (1): i40e/i40evf: Account for frags split over multiple descriptors in check linearize Amritha Nambiar (1): i40e: Remove UDP support for big buffer Andrei Vagin (1): rtnetlink: give a user socket to get_target_net() Arjun Vynipadath (1): cxgb4: Fix FW flash errors Benjamin Poirier (1): e1000e: Fix e1000_check_for_copper_link_ich8lan return value. Christophe JAILLET (1): mdio-sun4i: Fix a memory leak David S. Miller (10): Revert "net: core: dev_get_valid_name is now the same as dev_alloc_name_ns" Merge branch '1GbE' of git://git.kernel.org/.../jkirsher/net-queue Merge branch 'fec-clean-up-in-the-cases-of-probe-error' Merge branch 'ena-fixes' Merge branch '40GbE' of git://git.kernel.org/.../jkirsher/net-queue Merge tag 'mac80211-for-davem-2018-01-04' of git://git.kernel.org/.../jberg/mac80211 Merge git://git.kernel.org/.../pablo/nf Merge tag 'linux-can-fixes-for-4.15-20180104' of git://git.kernel.org/.../mkl/linux-can Merge branch 'bnxt_en_fixes' Merge branch 'SCTP-PMTU-discovery-fixes' Eduardo Otubo (1): xen-netfront: enable device after manual module load Eli Cooper (1): ip6_tunnel: disable dst caching if tunnel is dual-stack Felix Janda (1): uapi libc compat: add fallback for unsupported libcs Florian Fainelli (1): net: dsa: b53: Turn off Broadcom tags for more switches Florian Westphal (1): netfilter: uapi: correct UNTRACKED conntrack state bit number Fugang Duan (3): net: fec: restore dev_id in the cases of probe error net: fec: defer probe if regulator is not ready net: fec: free/restore resource in related probe error pathes Gao Feng (1): macvlan: Fix one possible double free Gustavo A. R. Silva (1): phylink: mark expected switch fall-throughs in phylink_mii_ioctl Hangbin Liu (1): netfilter: nf_tables: fix potential NULL-ptr deref in nf_tables_dump_obj_done() Hao Chen (1): nl80211: Check for the required netlink attribute presence Hauke Mehrtens (1): uapi/if_ether.h: prevent redefinition of struct ethhdr Ido Schimmel (2): mlxsw: spectrum_router: Fix NULL pointer deref mlxsw: spectrum: Relax sanity checks during enslavement Jacob Keller (1): i40e: don't remove netdev->dev_addr when syncing uc list Jerome Brunet (1): net: stmmac: enable EEE in MII, GMII or RGMII only Jiri Pirko (1): i40e: flower: Fix return value for unsupported offload Johannes Berg (1): mac80211: mesh: drop frames appearing to be from us Jon Maloy (1): tipc: fix problems with multipoint-to-point flow control Luu An Phu (1): can: flex_can: Correct the checking for frame length in flexcan_start_xmit() Marcelo Ricardo Leitner (3): sctp: fix error path in sctp_stream_init sctp: do not retransmit upon FragNeeded if PMTU discovery is disabled sctp: fix the handling of ICMP Frag Needed for too small MTUs Martin Lederhilger (1): can: ems_usb: improve error reporting for error warning and error passive Mohamed Ghannam (2): RDS: Heap OOB write in rds_message_alloc_sgs() RDS: null pointer dereference in rds_atomic_free_op Neil Horman (1): 3c59x: fix missing dma_mapping_error check and bad ring refill logic Netanel Belgazal (2): net: ena: unmask MSI-X only after device initialization
[GIT] Networking
1) IPv6 gre tunnels end up with different default features enabled depending upon whether netlink or ioctls are used to bring them up. Fix from Alexey Kodanev. 2) Fix read past end of user control message in RDS< from Avinash Repaka. 3) Missing RCU barrier in mini qdisc code, from Cong Wang. 4) Missing policy put when reusing per-cpu route entries, from Florian Westphal. 5) Handle nested PCI errors properly in bnx2x driver, from Guilherme G. Piccoli. 6) Run nested transport mode IPSEC packets via tasklet, from Herbert Xu. 7) Fix handling poll() for stream sockets in tipc, from Parthasarathy Bhuvaragan. 8) Fix two stack-out-of-bounds issues in IPSEC, from Steffen Klassert. 9) Another zerocopy ubuf handling fix, from Willem de Bruijn. Please pull, thanks a lot! The following changes since commit ead68f216110170ec729e2c4dec0aad6d38259d7: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-12-21 15:57:30 -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 d5902f6d1fbdb27e6a33c418063466d94be9dfa2: Merge branch 'strparser-Fix-lockdep-issue' (2017-12-28 14:28:23 -0500) Alexey Kodanev (1): ip6_gre: fix device features for ioctl setup Antony Antony (1): xfrm: fix xfrm_do_migrate() with AEAD e.g(AES-GCM) Avinash Repaka (1): RDS: Check cmsg_len before dereferencing CMSG_DATA Aviv Heller (1): xfrm: Fix xfrm_input() to verify state is valid when (encap_type < 0) Cong Wang (2): xfrm: check id proto in validate_tmpl() net_sched: fix a missing rcu barrier in mini_qdisc_pair_swap() Daniel Borkmann (1): Merge branch 'bpf-bpftool-various-fixes' David S. Miller (4): Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec Merge branch 'tg3-fixes' Merge git://git.kernel.org/.../bpf/bpf Merge branch 'strparser-Fix-lockdep-issue' Florian Westphal (1): xfrm: put policies when reusing pcpu xdst entry Fugang Duan (1): net: fec: unmap the xmit buffer that are not transferred by DMA Grygorii Strashko (1): net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround Guilherme G. Piccoli (1): bnx2x: Improve reliability in case of nested PCI errors Herbert Xu (1): xfrm: Reinject transport-mode packets through tasklet Jakub Kicinski (2): tools: bpftool: maps: close json array on error paths of show tools: bpftool: protect against races with disappearing objects Jiri Pirko (1): net: sched: fix possible null pointer deref in tcf_block_put Jon Maloy (2): tipc: base group replicast ack counter on number of actual receivers tipc: fix memory leak of group member when peer node is lost Mat Martineau (1): tcp: Avoid preprocessor directives in tracepoint macro args Michal Kubecek (1): xfrm: fix XFRMA_OUTPUT_MARK policy entry Parthasarathy Bhuvaragan (1): tipc: fix hanging poll() for stream sockets Quentin Monnet (1): selftests/bpf: fix Makefile for passing LLC to the command line Russell King (2): phylink: ensure the PHY interface mode is appropriately set phylink: ensure AN is enabled Siva Reddy Kallam (3): tg3: Update copyright tg3: Add workaround to restrict 5762 MRRS to 2048 tg3: Enable PHY reset in MTU change path for 5720 Steffen Klassert (2): xfrm: Fix stack-out-of-bounds read on socket policy lookup. xfrm: Fix stack-out-of-bounds with misconfigured transport mode policies. Tom Herbert (2): sock: Add sock_owned_by_user_nocheck strparser: Call sock_owned_by_user_nocheck Tommi Rantala (2): tipc: error path leak fixes in tipc_enable_bearer() tipc: fix tipc_mon_delete() oops in tipc_enable_bearer() error path Tonghao Zhang (1): sctp: Replace use of sockets_allocated with specified macro. Willem de Bruijn (1): skbuff: in skb_copy_ubufs unclone before releasing zerocopy drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 4 +-- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 14 +- drivers/net/ethernet/broadcom/tg3.c | 19 +++-- drivers/net/ethernet/broadcom/tg3.h | 7 - drivers/net/ethernet/freescale/fec_main.c| 6 drivers/net/phy/micrel.c | 1 + drivers/net/phy/phylink.c| 2 ++ include/net/sock.h | 5 include/net/xfrm.h | 3 ++ include/trace/events/tcp.h | 97 + net/core/skbuff.c| 6 ++-- net/ipv4/xfrm4_input.c | 12 +++- net/ipv6/ip6_gre.c | 57 +- net/ipv6/xfrm6_input.c
[GIT] Networking
What's a holiday weekend without some networking bug fixes? 1) Fix some eBPF JIT bugs wrt. SKB pointers across helper function calls, from Daniel Borkmann. 2) Fix regression from errata limiting change to marvell PHY driver, from Zhao Qiang. 3) Fix u16 overflow in SCTP, from Xin Long. 4) Fix potential memory leak during bridge newlink, from Nikolay Aleksandrov. 5) Fix BPF selftest build on s390, from Hendrik Brueckner. 6) Don't append to cfg80211 automatically generated certs file, always write new ones from scratch. From Thierry Reding. 7) Fix sleep in atomic in mac80211 hwsim, from Jia-Ju Bai. 8) Fix hang on tg3 MTU change with certain chips, from Brian King. 9) Add stall detection to arc emac driver and reset chip when this happens, from Alexander Kochetkov. 10) Fix MTU limitng in GRE tunnel drivers, from Xin Long. 11) Fix stmmac timestamping bug due to mis-shifting of field. From Fredrik Hallenberg. 12) Fix metrics match when deleting an ipv4 route. The kernel sets some internal metrics bits which the user isn't going to set when it makes the delete request. From Phil Sutter. 13) mvneta driver loop over RX queues limits on "txq_number" :-) Fix from Yelena Krivosheev. 14) Fix double free and memory corruption in get_net_ns_by_id, from Eric W. Biederman. 15) Flush ipv4 FIB tables in the reverse order. Some tables can share their actual backing data, in particular this happens for the MAIN and LOCAL tables. We have to kill the LOCAL table first, because it uses MAIN's backing memory. Fix from Ido Schimmel. 16) Several eBPF verifier value tracking fixes, from Edward Cree, Jann Horn, and Alexei Starovoitov. 17) Make changes to ipv6 autoflowlabel sysctl really propagate to sockets, unless the socket has set the per-socket value explicitly. From Shaohua Li. 18) Fix leaks and double callback invocations of zerocopy SKBs, from Willem de Bruijn. Please pull, thanks a lot! The following changes since commit f3b5ad89de16f5d42e8ad36fbdf85f705c1ae051: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (2017-12-16 13:43:08 -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 c50b7c473f609189da3bccd28ee5dcf3b55109cd: Merge branch 'net-zerocopy-fixes' (2017-12-21 15:00:59 -0500) Adiel Aloni (1): mac80211_hwsim: enable TODS BIT in null data frame Alexander Kochetkov (2): net: arc_emac: fix arc_emac_rx() error paths net: arc_emac: restart stalled EMAC Alexei Starovoitov (3): Merge branch 'bpf-jit-fixes' bpf: fix integer overflows bpf: do not allow root to mangle valid pointers Alexey Khoroshilov (1): net: phy: xgene: disable clk on error paths Alexey Kodanev (1): vxlan: restore dev->mtu setting based on lower device Brendan McGrath (1): ipv6: icmp6: Allow icmp messages to be looped back Brian King (1): tg3: Fix rx hang on MTU change with 5717/5719 Daniel Borkmann (6): bpf, s390x: do not reload skb pointers in non-skb context bpf, ppc64: do not reload skb pointers in non-skb context bpf: guarantee r1 to be ctx in case of bpf_helper_changes_pkt_data bpf, sparc: fix usage of wrong reg for load_skb_regs after call bpf: add test case for ld_abs and helper changing pkt data Merge branch 'bpf-verifier-sec-fixes' David Miller (1): bpf: Fix tools and testing build. David S. Miller (7): Merge git://git.kernel.org/.../bpf/bpf Merge tag 'mac80211-for-davem-2017-12-19' of git://git.kernel.org/.../jberg/mac80211 Merge branch 'mvneta-fixes' Merge branch 'cls_bpf-fix-offload-state-tracking-with-block-callbacks' Merge tag 'mlx5-fixes-2017-12-19' of git://git.kernel.org/.../saeed/linux Merge git://git.kernel.org/.../bpf/bpf Merge branch 'net-zerocopy-fixes' Edward Cree (1): bpf/verifier: fix bounds calculation on BPF_RSH Eran Ben Elisha (1): net/mlx5: Fix rate limit packet pacing naming and struct Eric Garver (1): openvswitch: Fix pop_vlan action for double tagged frames Eric W. Biederman (1): net: Fix double free and memory corruption in get_net_ns_by_id() Eugenia Emantayev (2): net/mlx5e: Fix defaulting RX ring size when not needed net/mlx5: Fix misspelling in the error message and comment Fredrik Hallenberg (2): net: stmmac: Fix TX timestamp calculation net: stmmac: Fix bad RX timestamp extraction Gal Pressman (4): net/mlx5e: Fix features check of IPv6 traffic net/mlx5e: Fix possible deadlock of VXLAN lock net/mlx5e: Add refcount to VXLAN structure net/mlx5e: Prevent possible races in VXLAN control flow Hemanth Puranik (1): net: qcom/emac: Change the order of mac up and sgmii open Hendrik Brueckner (1): bpf:
[GIT] Networking
1) Clamp timeouts to INT_MAX in conntrack, from Jay Elliot. 2) Fix broken UAPI for BPF_PROG_TYPE_PERF_EVENT, from Hendrik Brueckner. 3) Fix locking in ieee80211_sta_tear_down_BA_sessions, from Johannes Berg. 4) Add missing barriers to ptr_ring, from Michael S. Tsirkin. 5) Don't advertise gigabit in sh_eth when not available, from Thomas Petazzoni. 6) Check network namespace when delivering to netlink taps, from Kevin Cernekee. 7) Kill a race in raw_sendmsg(), from Mohamed Ghannam. 8) Use correct address in TCP md5 lookups when replying to an incoming segment, from Christoph Paasch. 9) Add schedule points to BPF map alloc/free, from Eric Dumazet. 10) Don't allow silly mtu values to be used in ipv4/ipv6 multicast, also from Eric Dumazet. 11) Fix SKB leak in tipc, from Jon Maloy. 12) Disable MAC learning on OVS ports of mlxsw, from Yuval Mintz. 13) SKB leak fix in skB_complete_tx_timestamp(), from Willem de Bruijn. 14) Add some new qmi_wwan device IDs, from Daniele Palmas. 15) Fix static key imbalance in ingress qdisc, from Jiri Pirko. Please pull, thanks a lot! The following changes since commit f335195adf043168ee69d78ea72ac3e30f0c57ce: kmemcheck: rip it out for real (2017-12-08 13:40:17 -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 043ee1debd0b29c16c4c4b11a348ca667bfe9144: net: qcom/emac: Reduce timeout for mdio read/write (2017-12-15 15:46:19 -0500) Alexei Starovoitov (1): Merge branch 'bpf-misc-fixes' Arnd Bergmann (1): netfilter: ipt_CLUSTERIP: fix clusterip_net_exit build regression Branislav Radocaj (1): net: ethernet: arc: fix error handling in emac_rockchip_probe Christoph Paasch (1): tcp md5sig: Use skb's saddr when replying to an incoming segment Colin Ian King (2): netfilter: remove redundant assignment to e net: phy: meson-gxl: make function meson_gxl_read_status static Daniel Borkmann (3): bpf: fix corruption on concurrent perf_event_output calls bpf: fix build issues on um due to mising bpf_perf_event.h bpf: fix broken BPF selftest build Daniele Palmas (1): net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support David S. Miller (8): Merge tag 'mac80211-for-davem-2017-12-11' of git://git.kernel.org/.../jberg/mac80211 Merge git://git.kernel.org/.../pablo/nf Merge branch 'mlx4-misc-fixes' Merge git://git.kernel.org/.../bpf/bpf Merge tag 'batadv-net-for-davem-20171215' of git://git.open-mesh.org/linux-merge Merge branch 's390-fixes' Merge branch 'aquantia-fixes' Merge branch 'net-sched-Make-qdisc-offload-uapi-uniform' Eran Ben Elisha (2): net/mlx4_core: Fix wrong calculation of free counters net/mlx4_en: Fill all counters under one call of stats lock Eric Dumazet (4): bpf: add schedule points to map alloc/free ipv6: mcast: better catch silly mtu values ipv4: igmp: guard against silly MTU values tcp: refresh tcp_mstamp from timers callbacks Eric Sesterhenn (2): netfilter: nf_ct_h323: Convert CHECK_BOUND macro to function netfilter: nf_ct_h323: Extend nf_h323_error_boundary to work on bits as well Eugenia Emantayev (1): net/mlx4_en: Fix selftest for small MTUs Florian Westphal (2): netfilter: conntrack: lower timeout to RETRANS seconds if window is 0 netfilter: exthdr: add missign attributes to policy Geert Uytterhoeven (1): Revert "ravb: add workaround for clock when resuming with WoL enabled" Haishuang Yan (1): ip_gre: fix wrong return value of erspan_rcv Hemanth Puranik (1): net: qcom/emac: Reduce timeout for mdio read/write Igor Russkikh (9): net: aquantia: Fix actual speed capabilities reporting net: aquantia: Fix hardware DMA stream overload on large MRRS net: aquantia: Extend stat counters to 64bit values net: aquantia: Fill ndev stat couters from hardware net: aquantia: Fill in multicast counter in ndev stats from hardware net: aquantia: Improve link state and statistics check interval callback net: aquantia: Update hw counters on hw init net: aquantia: Fix typo in ethtool statistics names net: aquantia: Increment driver version Jann Horn (1): netfilter: xt_bpf: add overflow checks Jay Elliott (1): netfilter: conntrack: clamp timeouts to INT_MAX Jerome Brunet (1): net: phy: meson-gxl: detect LPA corruption Jia-Ju Bai (1): hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close Jie Deng (1): dwc-xlgmac: Add co-maintainer Jiri Pirko (2): net: sched: fix clsact init error path net: sched: fix static key imbalance in case of ingress/clsact_init error Johannes Berg (3): wireless: replace usage of hexdump with od/sed wireless: don't write C files on failures mac80211:
[GIT] Networking
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'
[GIT] Networking
1) Various TCP control block fixes, including one that crashes with SELINUX, from David Ahern and Eric Dumazet. 2) Fix ACK generation in rxrpc, from David Howells. 3) ipvlan doesn't set the mark properly in the ipv4 route lookup key, from Gao Feng. 4) SIT configuration doesn't take on the frag_off ipv4 field configuration properly, fix from Hangbin Liu. 5) TSO can fail after device down/up on stmmac, fix from Lars Persson. 6) Various bpftool fixes (mostly in JSON handling) from Quentin Monnet. 7) Various SKB leak fixes in vhost/tun/tap (mostly observed as performance problems). From Wei Xu. 8) mvpps's TX descriptors were not zero initialized, from Yan Markman. Please pull, thanks a lot! The following changes since commit b9151761021e25c024a6670df4e7c43ffbab0e1d: Merge tag 'nfsd-4.15-1' of git://linux-nfs.org/~bfields/linux (2017-11-29 14:49:26 -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 c2eb6d07a63cb01f0ef978b28927335198c544ce: Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (2017-12-03 13:08:30 -0500) Colin Ian King (1): liquidio: fix incorrect indentation of assignment statement Cong Wang (1): act_sample: get rid of tcf_sample_cleanup_rcu() Corentin Labbe (1): net: stmmac: dwmac-sun8i: fix allwinner,leds-active-low handling Daniel Borkmann (1): Merge branch 'bpftool-misc-fixes' David Ahern (1): tcp: use IPCB instead of TCP_SKB_CB in inet_exact_dif_match() David Howells (4): rxrpc: Clean up whitespace rxrpc: Fix ACK generation from the connection event processor rxrpc: Use correct netns source in rxrpc_release_sock() rxrpc: Fix the MAINTAINERS record David S. Miller (9): Merge tag 'rxrpc-fixes-20171129' of git://git.kernel.org/.../dhowells/linux-fs Merge branch 'sctp-prsctp-chunk-fixes' Merge branch 'sfp-phylink-fixes' Merge branch 'bnxt_en-fixes' Merge branch 'vhost-skb-leaks' Merge branch 's390-qeth-fixes' Merge tag 'linux-can-fixes-for-4.15-20171201' of git://git.kernel.org/.../mkl/linux-can Merge branch 'tcp-cb-selinux-corruption' Merge git://git.kernel.org/.../bpf/bpf Eric Dumazet (3): tcp: remove buggy call to tcp_v6_restore_cb() tcp/dccp: block bh before arming time_wait timer tcp: add tcp_v4_fill_cb()/tcp_v4_restore_cb() Florian Fainelli (1): net: dsa: bcm_sf2: Set correct CHAIN_ID and slice number mask Gao Feng (1): ipvlan: Add the skb->mark as flow4's member to lookup route Geert Uytterhoeven (1): skbuff: Grammar s/are can/can/, s/change/changes/ Gustavo A. R. Silva (1): rxrpc: Fix variable overwrite Hangbin Liu (1): sit: update frag_off info Jakub Kicinski (1): bpf: offload: add a license header Jimmy Assarsson (3): can: kvaser_usb: free buf in error paths can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback() can: kvaser_usb: ratelimit errors if incomplete messages are received Julian Wiedmann (3): s390/qeth: fix thinko in IPv4 multicast address tracking s390/qeth: fix GSO throughput regression s390/qeth: build max size GSO skbs on L2 devices Lars Persson (1): stmmac: reset last TSO segment size after device open Marc Kleine-Budde (2): can: flexcan: Update IRQ Err Passive information can: flexcan: fix VF610 state transition issue Martin Kelly (2): can: mcba_usb: fix typo can: mcba_usb: fix device disconnect bug Max Uvarov (1): net: phy-micrel: check return code in flp center function Oliver Stäbler (1): can: ti_hecc: Fix napi poll return value for repoll Quentin Monnet (6): tools: bpftool: fix crash on bad parameters with JSON tools: bpftool: clean up the JSON writer before exiting in usage() tools: bpftool: make error message from getopt_long() JSON-friendly tools: bpftool: remove spurious line break from error message tools: bpftool: unify installation directories tools: bpftool: declare phony targets as such Ray Jui (1): bnxt_en: Need to unconditionally shut down RoCE in bnxt_shutdown Russell King (4): sfp: fix RX_LOS signal handling sfp: improve RX_LOS handling sfp: warn about modules requiring address change sequence phylink: ensure we take the link down when phylink_stop() is called Sathya Perla (1): bnxt_en: fix dst/src fid for vxlan encap/decap actions Stephane Grosjean (1): can: peak/pci: fix potential bug when probe() fails Sunil Challa (1): bnxt_en: wildcard smac while creating tunnel decap filter Tommi Rantala (1): tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv() Vasundhara Volam (1): bnxt_en: Fix a variable scoping in bnxt_hwrm_do_send_msg() Wei Xu (3): vhost: fix skb leak in
[GIT] Networking
There is a small overlapping conflict to net/rxrpc/call_object.c, it should be easy to resolve. In your tree there was a setup_timer() --> timer_setup() conversion, and in my tree there are new lines adding a lockdep_set_class() call right beforehand. 1) The forcedeth conversion from pci_*() DMA interfaces to dma_*() ones missed one spot. From Zhu Yanjun. 2) Missing CRYPTO_SHA256 Kconfig dep in cfg80211, from Johannes Berg. 3) Fix checksum offloading in thunderx driver, from Sunil Goutham. 4) Add SPDX to vm_sockets_diag.h, from Stephen Hemminger. 5) Fix use after free of packet headers in TIPC, from Jon Maloy. 6) "sizeof(ptr)" vs "sizeof(*ptr)" bug in i40e, from Gustavo A R Silva. 7) Tunneling fixes in mlxsw driver, from Petr Machata. 8) Fix crash in fanout_demux_rollover() of AF_PACKET, from Mike Maloney. 9) Fix race in AF_PACKET bind() vs. NETDEV_UP notifier, from Eric Dumazet. 10) Fix regression in sch_sfq.c due to one of the timer_setup() conversions. From Paolo Abeni. 11) SCTP does list_for_each_entry() using wrong struct member, fix from Xin Long. 12) Don't use big endian netlink attribute read for IFLA_BOND_AD_ACTOR_SYSTEM, it is in cpu endianness. Also from Xin Long. 13) Fix mis-initialization of q->link.clock in CBQ scheduler, preventing adding filters there. From Jiri Pirko. Please pull, thanks a lot! The following changes since commit 1d3b78bbc6e983fabb3fbf91b76339bf66e4a12c: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-11-23 21:18:46 -1000) 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 f6454f80e8a965fca203dab28723f68ec78db608: ethernet: dwmac-stm32: Fix copyright (2017-11-29 10:08:09 -0500) Ahmad Fatoum (1): e1000: Fix off-by-one in debug message Amritha Nambiar (1): i40e: Fix reporting incorrect error codes Antoine Tenart (4): net: mvpp2: fix the txq_init error path net: mvpp2: cleanup probed ports in the probe error path net: mvpp2: check ethtool sets the Tx ring size is to a valid min value net: phy: marvell10g: fix the PHY id mask Benjamin Gaignard (1): ethernet: dwmac-stm32: Fix copyright Christophe JAILLET (1): bnxt_en: Fix an error handling path in 'bnxt_get_module_eeprom()' Chun-Yeow Yeoh (1): mac80211: fix the update of path metric for RANN frame Colin Ian King (5): ambassador: fix incorrect indentation of assignment statement atm: fore200e: use %pK to format kernel addresses instead of %x atm: lanai: use %p to format kernel addresses instead of %x atm: suni: remove extraneous space to fix indentation net: via: via-rhine: use %p to format void * address instead of %x David Howells (12): rxrpc: The mutex lock returned by rxrpc_accept_call() needs releasing rxrpc: Don't set upgrade by default in sendmsg() rxrpc: Provide a different lockdep key for call->user_mutex for kernel calls rxrpc: Delay terminal ACK transmission on a client call rxrpc: Split the call params from the operation params rxrpc: Fix call timeouts rxrpc: Don't transmit DELAY ACKs immediately on proposal rxrpc: Express protocol timeouts in terms of RTT rxrpc: Add a timeout for detecting lost ACKs/lost DATA rxrpc: Add keepalive for a call rxrpc: Fix service endpoint expiry rxrpc: Fix conn expiry timers David S. Miller (7): Merge tag 'rxrpc-fixes-20171124' of git://git.kernel.org/.../dhowells/linux-fs Merge branch 'sctp-stream-reconfig-fixes' Merge tag 'mac80211-for-davem-2017-11-27' of git://git.kernel.org/.../jberg/mac80211 Merge branch '40GbE' of git://git.kernel.org/.../jkirsher/net-queue Merge branch 'mlxsw-GRE-offloading-fixes' Merge branch 'mvpp2-fixes' Merge branch 'sctp-fix-sparse-errors' Eduardo Otubo (1): xen-netfront: remove warning when unloading module Eric Dumazet (1): net/packet: fix a race in packet_bind() and packet_notifier() Geert Uytterhoeven (1): net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit Gustavo A R Silva (1): i40e/virtchnl: fix application of sizeof to pointer Gustavo A. R. Silva (1): net: openvswitch: datapath: fix data type in queue_gso_packets Hyong-Youb Kim (1): myri10ge: Update MAINTAINERS Jakub Kicinski (1): cls_bpf: don't decrement net's refcount when offload fails Jiri Pirko (1): net: sched: cbq: create block for q->link.block Johannes Berg (2): cfg80211: select CRYPTO_SHA256 if needed mac80211: use QoS NDP for AP probing Jon Maloy (1): tipc: eliminate access after delete in group_filter_msg() Jorgen Hansen (2): VSOCK: Don't call vsock_stream_has_data in atomic context VSOCK: Don't set sk_state to TCP_CLOSE before testing it Mika Westerberg (1):
[GIT] Networking
1) Fix PCI IDs of 9000 series iwlwifi devices, from Luca Coelho. 2) bpf offload bug fixes from Jakub Kicinski. 3) Fix bpf verifier to NOP out code which is dead at run time because due to branch pruning the verifier will not explore such instructions. From Alexei Starovoitov. 4) Fix crash when deleting secondary chains in packet scheduler classifier. From Roman Kapl. 5) Fix buffer management bugs in smc, from Ursula Braun. 6) Fix regression in anycast route handling, from David Ahern. 7) Fix link settings regression in r8169, from Tobias Jakobi. 8) Add back enough UFO support so that live migration still works, from Willem de Bruijn. 9) Linearize enough packet data for the full extent to which the ipvlan code will inspect the packet headers, from Gao Feng. Please pull, thanks a lot! The following changes since commit 0c86a6bd85ff0629cd2c5141027fc1c8bb6cde9c: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-11-21 05:56:12 -1000) 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 9ed33805cdf81eadcc6ef54a81a8448e80e19f54: Merge branch 'ipvlan-Fix-insufficient-skb-linear-check' (2017-11-24 03:37:03 +0900) Alan Brady (2): i40evf: fix client notify of l2 params i40e: restore promiscuous after reset Alexei Starovoitov (1): bpf: fix branch pruning logic Amritha Nambiar (1): i40e: Remove limit of 64 max queues per channel Brian King (7): ixgbe: Fix skb list corruption on Power systems i40e: Use smp_rmb rather than read_barrier_depends ixgbevf: Use smp_rmb rather than read_barrier_depends igbvf: Use smp_rmb rather than read_barrier_depends igb: Use smp_rmb rather than read_barrier_depends fm10k: Use smp_rmb rather than read_barrier_depends i40evf: Use smp_rmb rather than read_barrier_depends Daniel Borkmann (2): Merge branch 'bpf-offload-fixes' Merge branch 'bpf-fix-null-arg-semantics' David Ahern (1): net: ipv6: Fixup device for anycast routes during copy David S. Miller (5): Merge branch 'smc-fixes-for-smc-buffer-handling' Merge git://git.kernel.org/.../bpf/bpf Merge branch '40GbE' of git://git.kernel.org/.../jkirsher/net-queue Merge tag 'wireless-drivers-for-davem-2017-11-22' of git://git.kernel.org/.../kvalo/wireless-drivers Merge branch 'ipvlan-Fix-insufficient-skb-linear-check' Filip Sadowski (1): i40e: Fix FLR reset timeout issue Florian Fainelli (1): net: dsa: bcm_sf2: Clear IDDQ_GLOBAL_PWR bit for PHY Gao Feng (2): ipvlan: Fix insufficient skb linear check for arp ipvlan: Fix insufficient skb linear check for ipv6 icmp Geert Uytterhoeven (1): net/smc: Fix preinitialization of buf_desc in __smc_buf_create() Gianluca Borello (4): bpf: introduce ARG_PTR_TO_MEM_OR_NULL bpf: remove explicit handling of 0 for arg2 in bpf_probe_read bpf: change bpf_probe_read_str arg2 type to ARG_CONST_SIZE_OR_ZERO bpf: change bpf_perf_event_output arg5 type to ARG_CONST_SIZE_OR_ZERO Hangbin Liu (1): geneve: only configure or fill UDP_ZERO_CSUM6_RX/TX info when CONFIG_IPV6 Ido Schimmel (1): ipv6: Do not consider linkdown nexthops during multipath Jacob Keller (1): i40e: Fix for NUP NVM image downgrade failure Jakub Kicinski (10): bpf: offload: add comment warning developers about double destroy bpf: offload: limit offload to cls_bpf and xdp programs only bpf: offload: rename the ifindex field bpf: offload: move offload device validation out to the drivers net: xdp: don't allow device-bound programs in driver mode bpf: turn bpf_prog_get_type() into a wrapper bpf: offload: ignore namespace moves bpftool: revert printing program device bound info bpf: revert report offload info to user space bpf: make bpf_prog_offload_verifier_prep() static inline Jesse Chan (1): net: phy: cortina: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE Johan Hovold (1): wcn36xx: fix iris child-node lookup Kalle Valo (2): Merge tag 'iwlwifi-for-kalle-2017-11-19' of git://git.kernel.org/.../iwlwifi/iwlwifi-fixes Merge ath-current from git://git.kernel.org/.../kvalo/ath.git Luca Coelho (2): iwlwifi: mvm: support version 7 of the SCAN_REQ_UMAC FW command iwlwifi: fix PCI IDs and configuration mapping for 9000 series Roman Kapl (1): net: sched: fix crash when deleting secondary chains Thomas Backlund (1): iwlwifi: fix firmware names for 9000 and A000 series hw Tobias Jakobi (1): net: realtek: r8169: implement set_link_ksettings() Ursula Braun (1): net/smc: use sk_rcvbuf as start for rmb creation Vasanthakumar Thiagarajan (1): ath10k: fix data rx for CCMP-256, GCMP and GCMP-256 in raw mode Willem de Bruijn (1): net:
[GIT] Networking
1) Fix a reference to a module parameter which was lost during the GREv6 receive path rewrite, from Alexey Kodanev. 2) Fix deref before NULL check in ipheth, from Gustavo A. R. Silva. 3) RCU read lock imbalance in tun_build_skb(), from Xin Long. 4) Some stragglers from the mac80211 folks: a) Timer conversions from Kees Cook b) Fix some sequencing issue when cfg80211 is built statically, from Johannes Berg c) Memory leak in mac80211_hwsim, from Ben Hutchings. 5) Add new qmi_wwan device ID, from Sebastian Sjoholm. 6) Fix use after free in tipc, from Jon Maloy. 7) Missing kdoc in nfp driver, from Jakub Kicinski. Please pull, thanks a lot! The following changes since commit 1deab8ce2c91e3b16563b7a7ea150f82334262ec: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2017-11-17 20:21:44 -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 a13e8d418f3cb9d0b4efa6e744b8b23c0e3cdfe8: Merge tag 'mac80211-for-davem-2017-11-20' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211 (2017-11-21 20:30:57 +0900) Alexey Kodanev (1): gre6: use log_ecn_error module parameter in ip6_tnl_rcv() Ben Hutchings (1): mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl() Christophe JAILLET (1): net: vxge: Fix some indentation issues David S. Miller (1): Merge tag 'mac80211-for-davem-2017-11-20' of git://git.kernel.org/.../jberg/mac80211 Gustavo A. R. Silva (1): usbnet: ipheth: fix potential null pointer dereference in ipheth_carrier_set Heiner Kallweit (2): r8169: fix RTL8111EVL EEE and green settings r8169: use same RTL8111EVL green settings as in vendor driver Ido Schimmel (1): mlxsw: spectrum: Do not try to create non-existing ports during unsplit Jakub Kicinski (1): nfp: flower: add missing kdoc Johannes Berg (3): nl80211: don't expose wdev->ssid for most interfaces cfg80211: initialize regulatory keys/database later mac80211: properly free requested-but-not-started TX agg sessions Jon Maloy (1): tipc: fix access of released memory Kees Cook (2): mac80211: Convert timers to use timer_setup() mac80211: aggregation: Convert timers to use timer_setup() Neal Cardwell (1): tcp: when scheduling TLP, time of RTO should account for current ACK Netanel Belgazal (1): net: ena: fix race condition between device reset and link up setup Sebastian Sjoholm (1): net: qmi_wwan: add Quectel BG96 2c7c:0296 Xin Long (1): tun: fix rcu_read_lock imbalance in tun_build_skb drivers/net/ethernet/amazon/ena/ena_netdev.c| 11 +-- drivers/net/ethernet/amazon/ena/ena_netdev.h| 3 ++- drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 8 +++- drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 2 +- drivers/net/ethernet/neterion/vxge/vxge-main.c | 37 ++--- drivers/net/ethernet/netronome/nfp/flower/offload.c | 1 + drivers/net/ethernet/realtek/r8169.c| 17 +++-- drivers/net/tun.c | 3 ++- drivers/net/usb/ipheth.c| 5 - drivers/net/usb/qmi_wwan.c | 1 + drivers/net/wireless/mac80211_hwsim.c | 5 - include/net/tcp.h | 2 +- net/ipv4/tcp_input.c| 2 +- net/ipv4/tcp_output.c | 8 +--- net/ipv6/ip6_gre.c | 2 +- net/mac80211/agg-rx.c | 41 + net/mac80211/agg-tx.c | 49 +++-- net/mac80211/ibss.c | 7 +++ net/mac80211/ieee80211_i.h | 3 ++- net/mac80211/led.c | 11 ++- net/mac80211/main.c | 3 +-- net/mac80211/mesh.c | 27 --- net/mac80211/mesh.h | 2 +- net/mac80211/mesh_hwmp.c| 4 ++-- net/mac80211/mesh_pathtbl.c | 3 +-- net/mac80211/mlme.c | 32 ++-- net/mac80211/ocb.c | 10 +- net/mac80211/sta_info.c | 15 +++ net/mac80211/sta_info.h | 12 ++-- net/tipc/group.c| 2 +- net/wireless/nl80211.c | 26 -- net/wireless/reg.c | 42
[GIT] Networking
1) Revert regression inducing change to the IPSEC template resolver, from Steffen Klassert. 2) Peeloffs can cause the wrong sk to be waken up in SCTP, fix from Xin Long. 3) Min packet MTU size is wrong in cpsw driver, from Grygorii Strashko. 4) Fix build failure in netfilter ctnetlink, from Arnd Bergmann. 5) ISDN hisax driver checks pnp_irq() for errors incorrectly, from Arvind Yadav. 6) Fix fealnx driver build failure on MIPS, from Huacai Chen. 7) Fix into leak in SCTP, the scope_id of socket addresses is not always filled in. From Eric W. Biederman. 8) MTU inheritance between physical function and representor fix in nfp driver, from Dirk van der Merwe. 9) Fix memory leak in rsi driver, from Colin Ian King. 10) Fix expiration and generation ID handling of cached ipv4 redirect routes, from Xin Long. Please pull, thanks a lot! The following changes since commit 6363b3f3ac5be096d08c8c504128befa0c033529: Merge tag 'ipmi-for-4.15' of git://github.com/cminyard/linux-ipmi (2017-11-15 15:12:28 -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 461ee7f3286dd50be4726606819c4228bc485a17: net: usb: hso.c: remove unneeded DRIVER_LICENSE #define (2017-11-18 10:37:00 +0900) Ahmed Abdelsalam (1): ipv6: sr: update the struct ipv6_sr_hdr Arnd Bergmann (1): netfilter: add ifdef around ctnetlink_proto_size Arvind Yadav (12): isdn: hisax: Fix pnp_irq's error checking for setup_asuscom isdn: hisax: Fix pnp_irq's error checking for avm_pnp_setup isdn: hisax: Fix pnp_irq's error checking for setup_diva_isapnp isdn: hisax: Fix pnp_irq's error checking for setup_elsa_isapnp isdn: hisax: Fix pnp_irq's error checking for setup_hfcsx isdn: hisax: Fix pnp_irq's error checking for setup_hfcs isdn: hisax: Handle return value of pnp_irq and pnp_port_start isdn: hisax: Fix pnp_irq's error checking for setup_isurf isdn: hisax: Fix pnp_irq's error checking for setup_ix1micro isdn: hisax: Fix pnp_irq's error checking for setup_niccy isdn: hisax: Fix pnp_irq's error checking for setup_sedlbauer_isapnp isdn: hisax: Fix pnp_irq's error checking for setup_teles3 Colin Ian King (2): qed: use kzalloc instead of kmalloc and memset rsi: fix memory leak on buf and usb_reg_buf David S. Miller (3): Merge branch 'isdn-hisax-Fix-pnp_irq-error-checking' Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec Merge branch 'nfp-flower-fixes-and-typo-in-ethtool-stats-name' Desnes Augusto Nunes do Rosario (1): ibmvnic: fix dma_mapping_error call Dirk van der Merwe (1): nfp: inherit the max_mtu from the PF netdev Eric W. Biederman (1): net/sctp: Always set scope_id in sctp_inet6_skb_msgname Girish Moodalbail (1): ipvlan: NULL pointer dereference panic in ipvlan_port_destroy Greg Kroah-Hartman (1): net: usb: hso.c: remove unneeded DRIVER_LICENSE #define Grygorii Strashko (1): net: ethernet: ti: cpsw: fix min eth packet size Herbert Xu (1): xfrm: Copy policy family in clone_policy Huacai Chen (1): fealnx: Fix building error on MIPS Joel Stanley (1): virto_net: remove empty file 'virtio_net.' John Hurley (2): nfp: register flower reprs for egress dev offload nfp: remove false positive offloads in flower vxlan Jon Maloy (1): tipc: enforce valid ratio between skb truesize and contents Michal Kubecek (1): genetlink: fix genlmsg_nlhdr() Pieter Jansen van Vuuren (2): nfp: fix flower offload metadata flag usage nfp: fix vlan receive MAC statistics typo Steffen Klassert (1): Revert "xfrm: Fix stack-out-of-bounds read in xfrm_state_find." Tim Hansen (1): net/netlabel: Add list_next_rcu() in rcu_dereference(). Vitaly Kuznetsov (1): hv_netvsc: preserve hw_features on mtu/channels/ringparam changes Xin Long (6): sctp: do not free asoc when it is already dead in sctp_sendmsg sctp: use the right sk after waking up from wait_buf sleep sctp: check stream reset info len before making reconf chunk sctp: set frag_point in sctp_setsockopt_maxseg correctly route: update fnhe_expires for redirect when the fnhe exists route: also update fnhe_genid when updating a route cache drivers/isdn/hisax/asuscom.c | 2 +- drivers/isdn/hisax/avm_pci.c | 2 +- drivers/isdn/hisax/diva.c| 2 +- drivers/isdn/hisax/elsa.c| 2 +- drivers/isdn/hisax/hfc_sx.c | 2 +- drivers/isdn/hisax/hfcscard.c| 2 +- drivers/isdn/hisax/hisax_fcpcipnp.c | 2 + drivers/isdn/hisax/isurf.c | 2 +- drivers/isdn/hisax/ix1_micro.c
Re: [GIT] Networking
From: Daniel BorkmannDate: Wed, 15 Nov 2017 23:15:20 +0100 > On 11/15/2017 09:19 PM, Linus Torvalds wrote: >> On Wed, Nov 15, 2017 at 3:33 AM, David Miller wrote: >>> >>> Highlights: >> >> Lowlights: >> >> 1) it duplicated a commit from the hrtimer tree, which had been >> cleaned up and rewritten, but then merging the second copy of the >> commit re-introduced the bad code that had been cleaned up. >> >> I'm talking about commits >> >> - 7d9285e82db5: >> perf/bpf: Extend the perf_event_read_local() interface, a.k.a. >> "bpf: perf event change needed for subsequent bpf helpers" >> - 97562633bcba >> bpf: perf event change needed for subsequent bpf helpers >> >> where apparently there was no discussion between the groups about the >> subsequent changes. >> >> And this must have shown up in linux-next as a conflict, but no >> mention of it from either the perf event tree or the networking tree >> merge. >> >> Although it is of course possible that depending on merge order, the >> problem never showed up in next. > > Sorry about that, it was discussed that the patch in [1] would get > routed through net-next and again cherry-picked from tracing folks > due to conflicting changes in perf event tree that were being worked > on to avoid later merge conflicts - clearly that didn't give the > desired result. > > There was a subsequent discussion in [2] but not sure if cherry-picking > 0d3d73aac2ff ("perf/core: Rewrite event timekeeping") into net-next > would have made it better or worse. We'll have a bpf sub-tree up and > running soon for the next development cycle that can be pulled from > by different parties when needed; potentially this could reduce such > conflicts between trees in future. Sorry for the trouble. Yeah, sorry about all of this. I had hoped that since the patch was being appied to both trees in order to avoid merge problems, no modifications would have been made to the change at either end. This obviously didn't happen. I also didn't communicate the issue to you clearly in the pull request, and for this I apologize. As Daniel says, we realize that bpf is breaching multiple subsystems more and more so over time, and we hope a bpf GIT tree will help alleviate this moving forward. Thanks!
Re: [GIT] Networking
On 11/15/2017 09:19 PM, Linus Torvalds wrote: > On Wed, Nov 15, 2017 at 3:33 AM, David Millerwrote: >> >> Highlights: > > Lowlights: > > 1) it duplicated a commit from the hrtimer tree, which had been > cleaned up and rewritten, but then merging the second copy of the > commit re-introduced the bad code that had been cleaned up. > > I'm talking about commits > > - 7d9285e82db5: > perf/bpf: Extend the perf_event_read_local() interface, a.k.a. > "bpf: perf event change needed for subsequent bpf helpers" > - 97562633bcba > bpf: perf event change needed for subsequent bpf helpers > > where apparently there was no discussion between the groups about the > subsequent changes. > > And this must have shown up in linux-next as a conflict, but no > mention of it from either the perf event tree or the networking tree > merge. > > Although it is of course possible that depending on merge order, the > problem never showed up in next. Sorry about that, it was discussed that the patch in [1] would get routed through net-next and again cherry-picked from tracing folks due to conflicting changes in perf event tree that were being worked on to avoid later merge conflicts - clearly that didn't give the desired result. There was a subsequent discussion in [2] but not sure if cherry-picking 0d3d73aac2ff ("perf/core: Rewrite event timekeeping") into net-next would have made it better or worse. We'll have a bpf sub-tree up and running soon for the next development cycle that can be pulled from by different parties when needed; potentially this could reduce such conflicts between trees in future. Sorry for the trouble. Thanks, Daniel [1] https://patchwork.ozlabs.org/patch/821919/ [2] https://lkml.org/lkml/2017/11/1/53
Re: [GIT] Networking
On Wed, Nov 15, 2017 at 3:33 AM, David Millerwrote: > > Highlights: Lowlights: 1) it duplicated a commit from the hrtimer tree, which had been cleaned up and rewritten, but then merging the second copy of the commit re-introduced the bad code that had been cleaned up. I'm talking about commits - 7d9285e82db5: perf/bpf: Extend the perf_event_read_local() interface, a.k.a. "bpf: perf event change needed for subsequent bpf helpers" - 97562633bcba bpf: perf event change needed for subsequent bpf helpers where apparently there was no discussion between the groups about the subsequent changes. And this must have shown up in linux-next as a conflict, but no mention of it from either the perf event tree or the networking tree merge. Although it is of course possible that depending on merge order, the problem never showed up in next. Linus
[GIT] Networking
1) Use after free in vlan, from Cong Wang. 2) Handle NAPI poll with a zero budget properly in mlx5 driver, from Saeed Mahameed. 3) If DMA mapping fails in mlx5 driver, NULL out page, from Inbar Karmy. 4) Handle overrun in RX FIFO of sun4i CAN driver, from Gerhard Bertelsmann. 5) Missing return in mdb and vlan prepare phase of DSA layer, from Vivien Didelot. Please pull, thanks a lot! The following changes since commit 3fefc31843cfe2b5f072efe11ed9ccaf6a7a5092: Merge tag 'pm-final-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (2017-11-09 11:16:28 -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 92d28828179675176cd90293699b394b6d22ce68: Merge tag 'linux-can-fixes-for-4.14-20171110' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (2017-11-11 21:52:01 +0900) Cong Wang (1): vlan: fix a use-after-free in vlan_device_event() David S. Miller (2): Merge tag 'mlx5-fixes-2017-11-08' of git://git.kernel.org/.../saeed/linux Merge tag 'linux-can-fixes-for-4.14-20171110' of git://git.kernel.org/.../mkl/linux-can Eric Dumazet (1): tcp: gso: avoid refcount_t warning from tcp_gso_segment() Eugenia Emantayev (1): net/mlx5e: Increase Striding RQ minimum size limit to 4 multi-packet WQEs Gerhard Bertelsmann (1): can: sun4i: handle overrun in RX FIFO Huy Nguyen (2): net/mlx5: Loop over temp list to release delay events net/mlx5: Cancel health poll before sending panic teardown command Håkon Bugge (1): rds: ib: Fix NULL pointer dereference in debug code Inbar Karmy (1): net/mlx5e: Set page to null in case dma mapping fails Marek Vasut (1): can: ifi: Fix transmitter delay calculation Richard Schütz (1): can: c_can: don't indicate triple sampling support for D_CAN Saeed Mahameed (1): net/mlx5e: Fix napi poll with zero budget Stephane Grosjean (1): can: peak: Add support for new PCIe/M2 CAN FD interfaces Vivien Didelot (2): net: dsa: return after mdb prepare phase net: dsa: return after vlan prepare phase Yuchung Cheng (1): tcp: fix tcp_fastretrans_alert warning drivers/net/can/c_can/c_can_pci.c | 1 - drivers/net/can/c_can/c_can_platform.c| 1 - drivers/net/can/ifi_canfd/ifi_canfd.c | 6 +++--- drivers/net/can/peak_canfd/peak_pciefd_main.c | 14 -- drivers/net/can/sun4i_can.c | 12 ++-- drivers/net/ethernet/mellanox/mlx5/core/dev.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 +- drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 12 +--- drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c | 10 ++ drivers/net/ethernet/mellanox/mlx5/core/main.c| 7 +++ net/8021q/vlan.c | 6 +++--- net/dsa/switch.c | 4 net/ipv4/tcp_input.c | 3 +-- net/ipv4/tcp_offload.c| 12 ++-- net/rds/ib_recv.c | 10 +- 15 files changed, 68 insertions(+), 34 deletions(-)
[GIT] Networking
1) Fix use-after-free in IPSEC input parsing, desintation address pointer was loaded before pskb_may_pull() which can change the SKB data pointers. From Florian Westphal. 2) Stack out-of-bounds read in xfrm_state_find(), from Steffen Klassert. 3) IPVS state of SKB is not properly reset when moving between namespaces, from Ye Yin. 4) Fix crash in asix driver suspend and resume, from Andrey Konovalov. 5) Don't deliver ipv6 l2tp tunnel packets to ipv4 l2tp tunnels, and vice versa, from Guillaume Nault. 6) Fix DSACK undo on non-dup ACKs, from Priyaranjan Jha. 7) Fix regression in bond_xmit_hash()'s behavior after the TCP port selection changes back in 4.2, from Hangbin Liu. 8) Two divide by zero bugs in USB networking drivers when parsing descriptors, from Bjorn Mork. 9) Fix bonding slaves being stuck in BOND_LINK_FAIL state, from Jay Vosburgh. 10) Missing skb_reset_mac_header() in qmi_wwan, from Kristian Evensen. 11) Fix the destruction of tc action object races properly, from Cong Wang. Please pull, thanks a lot! The following changes since commit d4c2e9fca5b7db8d315d93a072e65d0847f8e0c5: Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux (2017-11-03 13:56:15 -0700) 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 6a17280247458ac2c302200e2d6ae36656f75bc6: Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec (2017-11-09 10:58:35 +0900) Andrey Konovalov (2): net: usb: asix: fill null-ptr-deref in asix_suspend net: usb: asix: fill null-ptr-deref in asix_suspend Bjorn Andersson (1): qrtr: Move to postcore_initcall Bjørn Mork (2): net: cdc_ether: fix divide by 0 on bad descriptors net: qmi_wwan: fix divide by 0 on bad descriptors Cong Wang (13): Revert "net_sched: hold netns refcnt for each action" net_sched: introduce tcf_exts_get_net() and tcf_exts_put_net() cls_basic: use tcf_exts_get_net() before call_rcu() cls_bpf: use tcf_exts_get_net() before call_rcu() cls_cgroup: use tcf_exts_get_net() before call_rcu() cls_flow: use tcf_exts_get_net() before call_rcu() cls_flower: use tcf_exts_get_net() before call_rcu() cls_fw: use tcf_exts_get_net() before call_rcu() cls_matchall: use tcf_exts_get_net() before call_rcu() cls_route: use tcf_exts_get_net() before call_rcu() cls_rsvp: use tcf_exts_get_net() before call_rcu() cls_tcindex: use tcf_exts_get_net() before call_rcu() cls_u32: use tcf_exts_get_net() before call_rcu() David S. Miller (3): Revert "net: usb: asix: fill null-ptr-deref in asix_suspend" Merge branch 'net-sched-race-fix' Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec Florian Westphal (2): xfrm: defer daddr pointer assignment after spi parsing xfrm: do unconditional template resolution before pcpu cache check Ganesh Goudar (1): cxgb4: update latest firmware version supported Guillaume Nault (1): l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6 Gustavo A. R. Silva (1): net/mlx5e/core/en_fs: fix pointer dereference after free in mlx5e_execute_l2_action Hangbin Liu (1): bonding: discard lowest hash bit for 802.3ad layer3+4 Jay Vosburgh (1): bonding: fix slave stuck in BOND_LINK_FAIL state Kristian Evensen (1): qmi_wwan: Add missing skb_reset_mac_header-call Marc Zyngier (1): net: mvpp2: Prevent userspace from changing TX affinities Priyaranjan Jha (1): tcp: fix DSACK-based undo on non-duplicate ACK Steffen Klassert (1): xfrm: Fix stack-out-of-bounds read in xfrm_state_find. Ye Yin (1): netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed drivers/net/bonding/bond_main.c | 3 ++- drivers/net/ethernet/chelsio/cxgb4/t4fw_version.h | 6 +++--- drivers/net/ethernet/marvell/mvpp2.c | 4 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c | 13 - drivers/net/usb/asix_devices.c| 4 ++-- drivers/net/usb/cdc_ether.c | 2 +- drivers/net/usb/qmi_wwan.c| 3 ++- include/linux/skbuff.h| 7 +++ include/net/act_api.h | 4 +--- include/net/pkt_cls.h | 24 net/core/skbuff.c | 1 + net/ipv4/tcp_input.c | 2 +- net/l2tp/l2tp_ip.c| 24 +--- net/l2tp/l2tp_ip6.c | 24 +--- net/qrtr/qrtr.c | 2 +- net/sched/act_api.c | 2 --
[GIT] Networking
Hopefully this is the last batch of networking fixes for 4.14 Fingers crossed... 1) Fix stmmac to use the proper sized OF property read, from Bhadram Varka. 2) Fix use after free in net scheduler tc action code, from Cong Wang. 3) Fix SKB control block mangling in tcp_make_synack(). 4) Use proper locking in fib_dump_info(), from Florian Westphal. 5) Fix IPG encodings in systemport driver, from Florian Fainelli. 6) Fix division by zero in NV TCP congestion control module, from Konstantin Khlebnikov. 7) Fix use after free in nf_reject_ipv4, from Tejaswi Tanikella. Please pull, thanks a lot! The following changes since commit 3a99df9a3d14cd866b5516f8cba515a3bfd554ab: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace (2017-11-01 16:04:27 -0700) 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 93824c80bf47ebe087414b3a40ca0ff9aab7d1fb: net: systemport: Correct IPG length settings (2017-11-03 14:30:02 +0900) Anatole Denis (1): netfilter: nft_set_hash: disable fast_ops for 2-len keys Bhadram Varka (1): stmmac: use of_property_read_u32 instead of read_u8 Cong Wang (2): net_sched: acquire RTNL in tc_action_net_exit() net_sched: hold netns refcnt for each action David S. Miller (2): Merge git://git.kernel.org/.../pablo/nf Merge branch 'net-sched-use-after-free' Eric Dumazet (1): tcp: do not mangle skb->cb[] in tcp_make_synack() Florian Fainelli (1): net: systemport: Correct IPG length settings Florian Westphal (1): fib: fib_dump_info can no longer use __in_dev_get_rtnl Jeff Barnhill (1): net: vrf: correct FRA_L3MDEV encode type Konstantin Khlebnikov (1): tcp_nv: fix division by zero in tcpnv_acked() Tejaswi Tanikella (1): netfilter: nf_reject_ipv4: Fix use-after-free in send_reset drivers/net/ethernet/broadcom/bcmsysport.c| 10 ++ drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 16 drivers/net/vrf.c | 2 +- include/linux/stmmac.h| 8 include/net/act_api.h | 6 +- net/ipv4/fib_semantics.c | 16 ++-- net/ipv4/netfilter/nf_reject_ipv4.c | 2 ++ net/ipv4/tcp_nv.c | 2 +- net/ipv4/tcp_output.c | 9 ++--- net/netfilter/nft_set_hash.c | 1 - net/sched/act_api.c | 4 net/sched/act_bpf.c | 2 +- net/sched/act_connmark.c | 2 +- net/sched/act_csum.c | 2 +- net/sched/act_gact.c | 2 +- net/sched/act_ife.c | 2 +- net/sched/act_ipt.c | 4 ++-- net/sched/act_mirred.c| 2 +- net/sched/act_nat.c | 2 +- net/sched/act_pedit.c | 2 +- net/sched/act_police.c| 2 +- net/sched/act_sample.c| 2 +- net/sched/act_simple.c| 2 +- net/sched/act_skbedit.c | 2 +- net/sched/act_skbmod.c| 2 +- net/sched/act_tunnel_key.c| 2 +- net/sched/act_vlan.c | 2 +- 27 files changed, 60 insertions(+), 50 deletions(-)
[GIT] Networking
1) Fix refcounting in xfrm_bundle_lookup() when using a dummy bundle, from Steffen Klassert. 2) Fix crypto header handling in rx data frames in ath10k driver, from Vasanthakumar Thiagarajan. 3) Fix use after free of qdisc when we defer tcp_chain_flush() to a workqueue. From Cong Wang. 4) Fix double free in lapbether driver, from Pan Bian. 5) Sanitize TUNSETSNDBUF values, from Craig Gallek. 6) Fix refcounting when addrconf_permanent_addr() calls ipv6_del_addr(). From Eric Dumazet. 7) Fix MTU probing bug in TCP that goes back to 2007, from Eric Dumazet. Please pull, thanks a lot! The following changes since commit 0b07194bb55ed836c2cc7c22e866b87a14681984: Linux 4.14-rc7 (2017-10-29 13:58:38 -0700) 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 2b7cda9c35d3b940eb9ce74b30bbd5eb30db493d: tcp: fix tcp_mtu_probe() vs highest_sack (2017-11-01 21:18:34 +0900) Andrew Lunn (1): net: phy: marvell: Only configure RGMII delays when using RGMII Brenda J. Butler (1): tc-testing: fix arg to ip command: -s -> -n Cong Wang (1): net_sched: remove tcf_block_put_deferred() Craig Gallek (1): tun/tap: sanitize TUNSETSNDBUF input David S. Miller (2): Merge tag 'wireless-drivers-for-davem-2017-10-31' of git://git.kernel.org/.../kvalo/wireless-drivers Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec Eric Dumazet (2): ipv6: addrconf: increment ifp refcount before ipv6_del_addr() tcp: fix tcp_mtu_probe() vs highest_sack Guillaume Nault (1): l2tp: hold tunnel in pppol2tp_connect() Ido Schimmel (1): mlxsw: reg: Add high and low temperature thresholds Jia-Ju Bai (1): wcn36xx: Remove unnecessary rcu_read_unlock in wcn36xx_bss_info_changed John Fastabend (1): bpf: remove SK_REDIRECT from UAPI Jonathan Basseri (1): xfrm: Clear sk_dst_cache when applying per-socket policy. Kalle Valo (2): Revert "ath10k: fix napi_poll budget overflow" Merge ath-current from ath.git Pan Bian (2): net: lapbether: fix double free net: hns: set correct return value Steffen Klassert (2): xfrm: Fix xfrm_dst_cache memleak xfrm: Fix GSO for IPsec with GRE tunnel. Vadim Pasternak (1): mlxsw: i2c: Fix buffer increment counter for write transaction Vasanthakumar Thiagarajan (1): ath10k: rebuild crypto header in rx data frames Yotam Gigi (1): MAINTAINERS: Update Yotam's E-mail Yuval Mintz (1): MAINTAINERS: Remove Yotam from mlxfw MAINTAINERS | 6 ++-- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 4 +-- drivers/net/ethernet/mellanox/mlxsw/i2c.c | 2 +- drivers/net/ethernet/mellanox/mlxsw/reg.h | 25 ++ drivers/net/phy/marvell.c | 8 +++-- drivers/net/tap.c | 2 ++ drivers/net/tun.c | 4 +++ drivers/net/wan/lapbether.c | 1 - drivers/net/wireless/ath/ath10k/htt_rx.c | 122 + drivers/net/wireless/ath/ath10k/rx_desc.h | 3 ++ drivers/net/wireless/ath/wcn36xx/main.c | 1 - include/net/tcp.h | 6 ++-- include/uapi/linux/bpf.h | 1 - kernel/bpf/sockmap.c | 16 ++--- net/ife/ife.c | 2 +- net/ipv4/tcp_output.c | 3 +- net/ipv6/addrconf.c | 1 + net/l2tp/l2tp_ppp.c | 7 +++- net/psample/psample.c | 2 +- net/sched/act_sample.c| 2 +- net/sched/cls_api.c | 37 + net/xfrm/xfrm_output.c| 4 ++- net/xfrm/xfrm_policy.c| 1 - net/xfrm/xfrm_state.c | 1 + tools/include/uapi/linux/bpf.h| 3 +- tools/testing/selftests/tc-testing/tdc.py | 4 +-- 26 files changed, 182 insertions(+), 86 deletions(-)
[GIT] Networking
1) Fix route leak in xfrm_bundle_create(). 2) In mac80211, validate user rate mask before configuring it. From Johannes Berg. 3) Properly enforce memory limits in fair queueing code, from Toke Hoiland-Jorgensen. 4) Fix lockdep splat in inet_csk_route_req(), from Eric Dumazet. 5) Fix TSO header allocation and management in mvpp2 driver, from Yan Markman. 6) Don't take socket lock in BH handler in strparser code, from Tom Herbert. 7) Don't show sockets from other namespaces in AF_UNIX code, from Andrei Vagin. 8) Fix double free in error path of tap_open(), from Girish Moodalbail. 9) Fix TX map failure path in igb and ixgbe, from Jean-Philippe Brucker and Alexander Duyck. 10) Fix DCB mode programming in stmmac driver, from Jose Abreu. 11) Fix err_count handling in various tunnels (ipip, ip6_gre). From Xin Long. 12) Properly align SKB head before building SKB in tuntap, from Jason Wang. 13) Avoid matching qdiscs with a zero handle during lookups, from Cong Wang. 14) Fix various endianness bugs in sctp, from Xin Long. 15) Fix tc filter callback races and add selftests which trigger the problem, from Cong Wang. Please pull, thanks a lot! The following changes since commit b5ac3beb5a9f0ef0ea64cd85faf94c0dc4de0e42: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-10-21 22:44:48 -0400) 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 6c325f4eca9ee9eb32cf58768e6e4ebcabaa8d6e: Merge branch 'net_sched-fix-races-with-RCU-callbacks' (2017-10-29 22:49:32 +0900) Aleksander Morgado (1): cdc_ether: flag the Huawei ME906/ME909 as WWAN Alexander Duyck (3): ixgbe: Fix Tx map failure path i40e: Fix incorrect use of tx_itr_setting when checking for Rx ITR setup i40e: Add programming descriptors to cleaned_count Andrei Vagin (1): net/unix: don't show information about sockets from other namespaces Antoine Tenart (5): net: mvpp2: do not unmap TSO headers buffers net: mvpp2: do not call txq_done from the Tx path when Tx irqs are used net: mvpp2: fix typo in the tcam setup net: mvpp2: fix invalid parameters order when calling the tcam init net: mvpp2: do not sleep in set_rx_mode Chris Mi (2): selftests: Introduce a new script to generate tc batch file selftests: Introduce a new test case to tc testsuite Colin Ian King (1): e1000: avoid null pointer dereference on invalid stat type Cong Wang (15): net_sched: avoid matching qdisc with zero handle net_sched: introduce a workqueue for RCU callbacks of tc filter net_sched: use tcf_queue_work() in basic filter net_sched: use tcf_queue_work() in bpf filter net_sched: use tcf_queue_work() in cgroup filter net_sched: use tcf_queue_work() in flow filter net_sched: use tcf_queue_work() in flower filter net_sched: use tcf_queue_work() in fw filter net_sched: use tcf_queue_work() in matchall filter net_sched: use tcf_queue_work() in u32 filter net_sched: use tcf_queue_work() in route filter net_sched: use tcf_queue_work() in rsvp filter net_sched: use tcf_queue_work() in tcindex filter net_sched: add rtnl assertion to tcf_exts_destroy() net_sched: fix call_rcu() race on act_sample module removal David Miller (1): ipsec: Fix dst leak in xfrm_bundle_create(). David S. Miller (8): Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec Merge tag 'linux-can-fixes-for-4.14-20171024' of git://git.kernel.org/.../mkl/linux-can Merge tag 'mac80211-for-davem-2017-10-25' of git://git.kernel.org/.../jberg/mac80211 Merge tag 'mlx5-fixes-2017-10-26' of git://git.kernel.org/.../saeed/linux Merge branch '40GbE' of git://git.kernel.org/.../jkirsher/net-queue Merge branch 'sockmap-fixes' Merge branch 'sctp-endianness-fixes' Merge branch 'net_sched-fix-races-with-RCU-callbacks' Eric Dumazet (3): tcp/dccp: fix lockdep splat in inet_csk_route_req() tcp/dccp: fix other lockdep splats accessing ireq_opt tcp: refresh tp timestamp before tcp_mtu_probe() Gerhard Bertelsmann (1): can: sun4i: fix loopback mode Girish Moodalbail (2): tap: double-free in error path in tap_open() tap: reference to KVA of an unloaded module causes kernel panic Herbert Xu (1): ipsec: Fix aborted xfrm policy dump crash Huy Nguyen (2): net/mlx5: Delay events till mlx5 interface's add complete for pci resume net/mlx5e: DCBNL, Implement tc with ets type and zero bandwidth Håkon Bugge (2): rds: ib: Fix uninitialized variable rds: Fix inaccurate accounting of unsignaled wrs Jason A. Donenfeld (1): mac80211: use constant time comparison with keys Jason Wang (1): tuntap: properly align skb->head
[GIT] Networking
A little more than usual this time around. Been travelling, so that is part of it. Anyways, here are the highlights: 1) Deal with memcontrol races wrt. listener dismantle, from Eric Dumazet. 2) Handle page allocation failures properly in nfp driver, from Jaku Kicinski. 3) Fix memory leaks in macsec, from Sabrina Dubroca. 4) Fix crashes in pppol2tp_session_ioctl(), from Guillaume Nault. 5) Several fixes in bnxt_en driver, including preventing potential NVRAM parameter corruption from Michael Chan. 6) Fix for KRACK attacks in wireless, from Johannes Berg. 7) rtnetlink event generation fixes from Xin Long. 8) Deadlock in mlxsw driver, from Ido Schimmel. 9) Disallow arithmetic operations on context pointers in bpf, from Jakub Kicinski. 10) Missing sock_owned_by_user() check in sctp_icmp_redirect(), from Xin Long. 11) Only TCP is supported for sockmap, make that explicit with a check, from John Fastabend. 12) Fix IP options state races in DCCP and TCP, from Eric Dumazet. 13) Fix panic in packet_getsockopt(), also from Eric Dumazet. 14) Add missing locked in hv_sock layer, from Dexuan Cui. 15) Various aquantia bug fixes, including several statistics handling cures. From Igor Russkikh et al. 16) Fix arithmetic overflow in devmap code, from John Fastabend. 17) Fix busted socket memory accounting when we get a fault in the tcp zero copy paths. From Willem de Bruijn. 18) Don't leave opt->tot_len uninitialized in ipv6, from Eric Dumazet. Please pull, thanks a lot! The following changes since commit 529a86e063e9ff625c4ff247d8aa17d8072444fb: Merge branch 'ppc-bundle' (bundle from Michael Ellerman) (2017-10-09 19:08:32 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git for you to fetch changes up to 8d5f4b07174976c55a5f5d696373c6826944: stmmac: Don't access tx_q->dirty_tx before netif_tx_lock (2017-10-22 03:24:43 +0100) Alexander Duyck (1): i40e: Fix memory leak related filter programming status Arnd Bergmann (2): brcmsmac: make some local variables 'static const' to reduce stack size liquidio: fix timespec64_to_ns typo Behan Webster (1): wimax/i2400m: Remove VLAIS Bernd Edlinger (1): stmmac: Don't access tx_q->dirty_tx before netif_tx_lock Chaya Rachel Ivgi (1): iwlwifi: nvm: set the correct offsets to 3168 series Colin Ian King (1): can: bcm: check for null sk before deferencing it via the call to sock_net Cong Wang (1): tun: call dev_get_valid_name() before register_netdevice() Craig Gallek (1): soreuseport: fix initialization race Daniel Borkmann (6): mm, percpu: add support for __GFP_NOWARN flag bpf: fix splat for illegal devmap percpu allocation bpf: do not test for PCPU_MIN_UNIT_SIZE before percpu allocations bpf: fix off by one for range markings with L{T, E} patterns bpf: fix pattern matches for direct packet access bpf: add test cases to bpf selftests to cover all access tests Daniel Drake (1): r8169: only enable PCI wakeups when WOL is active David Howells (1): rxrpc: Don't release call mutex on error pointer David S. Miller (14): Merge branch '40GbE' of git://git.kernel.org/.../jkirsher/net-queue Merge branch 'nfp-fix-ethtool-stats-and-page-allocation' Merge tag 'wireless-drivers-for-davem-2017-10-13' of git://git.kernel.org/.../kvalo/wireless-drivers Merge branch 'bnxt_en-fixes' Merge branch 'rtnetlink-dev-notification-fixes' Merge tag 'mac80211-for-davem-2017-10-16' of git://git.kernel.org/.../jberg/mac80211 Merge branch 'ena-fixes' Merge branch 'bpf-Fix-for-BPF-devmap-percpu-allocation-splat' Merge branch 'sockmap-fixes' Merge tag 'linux-can-fixes-for-4.14-20171019' of git://git.kernel.org/.../mkl/linux-can Merge branch 'aquantia-fixes' Merge branch 'bpf-range-marking-fixes' Merge branch 'mlxsw-fixes' Merge branch 'stmmac-hw-tstamp-fixes' Dexuan Cui (1): hv_sock: add locking in the open/close/release code paths Emiliano Ingrassia (1): net: stmmac: dwmac_lib: fix interchanged sleep/timeout values in DMA reset function Eric Dumazet (7): net: memcontrol: defer call to mem_cgroup_sk_alloc() net: defer call to cgroup_sk_alloc() Revert "net: defer call to cgroup_sk_alloc()" net: call cgroup_sk_alloc() earlier in sk_clone_lock() tcp/dccp: fix ireq->opt races packet: avoid panic in packet_getsockopt() ipv6: flowlabel: do not leave opt->tot_len with garbage Gavin Shan (3): net/ncsi: Disable HWA mode when no channels are found net/ncsi: Enforce failover on link monitor timeout net/ncsi: Fix length of GVI response packet Geert Uytterhoeven (1): of_mdio: Fix broken PHY IRQ in case of probe deferral Golan Ben Ami (1): iwlwifi: stop dbgc
[GIT] Networking
1) Fix object leak on IPSEC offload failure, from Steffen Klassert. 2) Fix range checks in ipset address range addition operations, from Jozsef Kadlecsik. 3) Fix pernet ops unregistration order in ipset, from Florian Westphal. 4) Add missing netlink attribute policy for nl80211 packet pattern attrs, from Peng Xu. 5) Fix PPP device destruction race, from Guillaume Nault. 6) Write marks get lost when BPF verifier processes R1=R2 register assignments, causing incorrect liveness information and less state pruning. Fix from Alexei Starovoitov. 7) Fix blockhole routes so that they are marked dead and therefore not cached in sockets, otherwise IPSEC stops working. From Steffen Klassert. 8) Fix broadcast handling of UDP socket early demux, from Paolo Abeni. Please pull, thanks a lot! The following changes since commit 7a92616c0bac849e790283723b36c399668a1d9f: Merge tag 'pm-4.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (2017-10-05 15:51:37 -0700) 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 fdfbad3256918fc5736d68384331d2dbf45ccbd6: cdc_ether: flag the u-blox TOBY-L2 and SARA-U2 as wwan (2017-10-09 16:03:32 -0700) Aleksander Morgado (1): cdc_ether: flag the u-blox TOBY-L2 and SARA-U2 as wwan Alexei Starovoitov (1): bpf: fix liveness marking Alexey Kodanev (2): vti: fix NULL dereference in xfrm_input() gso: fix payload length when gso_size is zero Artem Savkov (2): xfrm: don't call xfrm_policy_cache_flush under xfrm_state_lock netfilter: ebtables: fix race condition in frame_filter_net_init() Arvind Yadav (1): netfilter: nf_tables: Release memory obtained by kasprintf Axel Beckert (1): doc: Fix typo "8023.ad" in bonding documentation Dan Carpenter (1): selftests/net: rxtimestamp: Fix an off by one David S. Miller (4): Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec Merge tag 'mac80211-for-davem-2017-10-09' of git://git.kernel.org/.../jberg/mac80211 Merge branch '10GbE' of git://git.kernel.org/.../jkirsher/net-queue Merge git://git.kernel.org/.../pablo/nf Ding Tianhong (2): Revert commit 1a8b6d76dc5b ("net:add one common config...") net: ixgbe: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag Eric Dumazet (1): netfilter: x_tables: avoid stack-out-of-bounds read in xt_copy_counters_from_user Florian Westphal (1): netfilter: ipset: pernet ops must be unregistered last Guillaume Nault (1): ppp: fix race in ppp device destruction Gustavo A. R. Silva (1): net: thunderx: mark expected switch fall-throughs in nicvf_main() Ido Schimmel (1): mlxsw: spectrum_router: Avoid expensive lookup during route removal Jason A. Donenfeld (1): netlink: do not set cb_running if dump's start() errs JingPiao Chen (1): netfilter: nf_tables: fix update chain error John Fastabend (1): ixgbe: incorrect XDP ring accounting in ethtool tx_frame param Jon Maloy (2): tipc: correct initialization of skb list tipc: Unclone message at secondary destination lookup Jozsef Kadlecsik (1): netfilter: ipset: Fix adding an IPv4 range containing more than 2^31 addresses Lin Zhang (1): netfilter: SYNPROXY: skip non-tcp packet in {ipv4, ipv6}_synproxy_hook Mark D Rustad (1): ixgbe: Return error when getting PHY address if PHY access is not supported Matteo Croce (1): ipv6: fix net.ipv6.conf.all.accept_dad behaviour for real Pablo Neira Ayuso (1): netfilter: nf_tables: do not dump chain counters if not enabled Paolo Abeni (1): udp: fix bcast packet reception Peng Xu (1): nl80211: Define policy for packet pattern attributes Ross Lagerwall (1): netfilter: ipset: Fix race between dump and swap Sabrina Dubroca (1): ixgbe: fix masking of bits read from IXGBE_VXLANCTRL register Shmulik Ladkani (1): netfilter: xt_bpf: Fix XT_BPF_MODE_FD_PINNED mode of 'xt_bpf_info_v1' Steffen Klassert (4): xfrm: Fix deletion of offloaded SAs on failure. xfrm: Fix negative device refcount on offload failure. ipv6: Fix traffic triggered IPsec connections. ipv4: Fix traffic triggered IPsec connections. Subash Abhinov Kasiviswanathan (1): netfilter: xt_socket: Restore mark from full sockets only Vadim Fedorenko (1): netfilter: ipvs: full-functionality option for ECN encapsulation in tunnel Documentation/networking/bonding.txt | 2 +- arch/Kconfig | 3 --- arch/sparc/Kconfig| 1 - drivers/net/ethernet/cavium/thunder/nicvf_main.c | 2 ++ drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c| 22 --
[GIT] Networking
1) Check iwlwifi 9000 reorder buffer out-of-space condition properly, from Sara Sharon. 2) Fix RCU splat in qualcomm rmnet driver, from Subash Abhinov Kasiviswanathan. 3) Fix session and tunnel release races in l2tp, from Guillaume Nault and Sabrina Dubroca. 4) Fix endian bug in sctp_diag_dump(), from Dan Carpenter. 5) Several mlx5 driver fixes from the Mellanox folks (max flow counters cap check, invalid memory access in IPoIB support, etc.) 6) tun_get_user() should bail if skb->len is zero, from Alexander Potapenko. 7) Fix RCU lookups in inetpeer, from Eric Dumazet. 8) Fix locking in packet_do_bund(). 9) Handle cb->start() error properly in netlink dump code, from Jason A. Donenfeld. 10) Handle multicast properly in UDP socket early demux code. From Paolo Abeni. 11) Several erspan bug fixes in ip_gre, from Xin Long. 12) Fix use-after-free in socket filter code, in order to handle the face that listener lock is no longer taken during the three-way TCP handshake. From Eric Dumazet. 13) Fix infoleak in RTM_GETSTATS, from Nikolay Aleksandrov. 14) Fix tail call generation in x86-64 BPF JIT, from Alexei Starovoitov. Please pull, thanks a lot! The following changes since commit cd4175b11685b11c40e31a03e05084cc212b0649: Merge branch 'parisc-4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux (2017-09-23 06:14:06 -1000) 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 e769fcec6bc4bdd1b0e2cf817680148f9c40b1c4: net: 8021q: skip packets if the vlan is down (2017-10-04 18:16:48 -0700) Aleksander Morgado (1): rndis_host: support Novatel Verizon USB730L Alexander Potapenko (1): tun: bail out from tun_get_user() if the skb is empty Alexei Starovoitov (1): bpf: fix bpf_tail_call() x64 JIT Alexey Kodanev (1): vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit Andrew Lunn (1): net: dsa: mv88e6xxx: Allow dsa and cpu ports in multiple vlans Antoine Tenart (1): net: mvpp2: do not select the internal source clock Arend Van Spriel (2): brcmfmac: add length check in brcmf_cfg80211_escan_handler() brcmfmac: setup passive scan if requested by user-space Arnd Bergmann (3): ath10k: mark PM functions as __maybe_unused rocker: fix rocker_tlv_put_* functions for KASAN netlink: fix nla_put_{u8,u16,u32} for KASAN Avraham Stern (2): iwlwifi: mvm: send all non-bufferable frames on the probe queue iwlwifi: mvm: wake the correct mac80211 queue Christoph Paasch (1): net: Set sk_prot_creator when cloning sockets to the right proto Christophe JAILLET (2): cnic: Fix an error handling path in 'cnic_alloc_bnx2x_resc()' net: hns3: Fix an error handling path in 'hclge_rss_init_hw()' Dan Carpenter (1): sctp: Fix a big endian bug in sctp_diag_dump() David S. Miller (8): Merge branch 'l2tp-fix-some-races-in-session-deletion' Merge branch 'aquantia-fixes' Merge tag 'wireless-drivers-for-davem-2017-09-25' of git://git.kernel.org/.../kvalo/wireless-drivers Merge branch 'mvpp2-various-fixes' Merge tag 'mlx5-fixes-2017-09-28' of git://git.kernel.org/.../saeed/linux Merge branch 'udp-fix-early-demux-for-mcast-packets' Merge branch 'erspan-fixes' Merge branch 'mlxsw-gre-fixes' David Spinadel (1): iwlwifi: mvm: Flush non STA TX queues David Wu (1): net: stmmac: dwmac-rk: Add RK3128 GMAC support Ed Blake (2): net: stmmac: dwc-qos: Add suspend / resume support net: stmmac: dwmac4: Re-enable MAC Rx before powering down Eric Dumazet (2): inetpeer: fix RCU lookup() again socket, bpf: fix possible use after free Florian Fainelli (1): net: dsa: Fix network device registration order Gal Pressman (3): net/mlx5e: Print netdev features correctly in error message net/mlx5e: Don't add/remove 802.1ad rules when changing 802.1Q VLAN filter net/mlx5e: Fix calculated checksum offloads counters Grant Grundler (1): r8152: add Linksys USB3GIGV1 id Gregory CLEMENT (1): net: mvpp2: Fix clock resource by adding an optional bus clock Guillaume Nault (4): l2tp: ensure sessions are freed after their PPPOL2TP socket l2tp: fix race between l2tp_session_delete() and l2tp_tunnel_closeall() ppp: fix __percpu annotation l2tp: fix l2tp_eth module loading Igor Russkikh (3): aquantia: Setup max_mtu in ndev to enable jumbo frames aquantia: Fix Tx queue hangups aquantia: Fix transient invalid link down/up indications Inbar Karmy (1): net/mlx5: Fix FPGA capability location Jason A. Donenfeld (1): netlink: do not proceed if dump's start() errs Kalle Valo (2): Merge tag 'iwlwifi-for-kalle-2017-09-15' of git://git.kernel.org/.../iwlwifi/iwlwifi-fixes
[GIT] Networking
1) Fix NAPI poll list corruption in enic driver, from Christian Lamparter. 2) Fix route use after free, from Eric Dumazet. 3) Fix regression in reuseaddr handling, from Josef Bacik. 4) Assert the size of control messages in compat handling since we copy it in from userspace twice. From Meng Xu. 5) SMC layer bug fixes (missing RCU locking, bad refcounting, etc.) from Ursula Braun. 6) Fix races in AF_PACKET fanout handling, from Willem de Bruijn. 7) Don't use ARRAY_SIZE on spinlock array which might have zero entries, from Geert Uytterhoeven. 8) Fix miscomputation of checksum in ipv6 udp code, from Subash Abhinov Kasiviswanathan. 9) Push the ipv6 header properly in ipv6 GRE tunnel driver, from Xin Long. Please pull, thanks a lot. The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) 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 4e683f499a15cd777d3cb51aaebe48d72334c852: Merge branch 'net-fix-reuseaddr-regression' (2017-09-22 20:33:18 -0700) Alex Ng (1): hv_netvsc: fix send buffer failure on MTU change Andreas Gruenbacher (1): rhashtable: Documentation tweak Ariel Elior (1): MAINTAINERS: Remove Yuval Mintz from maintainers list Christian Lamparter (1): net: emac: Fix napi poll list corruption Cong Wang (1): net_sched: remove cls_flower idr on failure Daniel Borkmann (1): bpf: fix ri->map_owner pointer on bpf_prog_realloc David S. Miller (8): Merge tag 'mac80211-for-davem-2017-11-19' of git://git.kernel.org/.../jberg/mac80211 Merge branch 'hns3-bug-fixes' Merge git://git.kernel.org/.../pablo/nf Merge branch 'hns3-tm-fixes' Merge branch 'phylib-xcvr-type' Merge branch 'lan78xx-fixes' Merge branch 'smc-bug-fixes' Merge branch 'net-fix-reuseaddr-regression' Davide Caratti (1): net/sched: cls_matchall: fix crash when used with classful qdisc Edward Cree (1): net: change skb->mac_header when Generic XDP calls adjust_head Eric Dumazet (4): 8139too: revisit napi_complete_done() usage bpf: do not disable/enable BH in bpf_map_free_id() tcp: fastopen: fix on syn-data transmit failure net: prevent dst uses after free Fahad Kunnathadi (1): net: phy: Fix mask value write on gmii2rgmii converter speed register Florian Fainelli (3): net: systemport: Fix 64-bit statistics dependency net: ethtool: Add back transceiver type net: phy: Keep reporting transceiver type Geert Uytterhoeven (2): netfilter: nat: Do not use ARRAY_SIZE() on spinlocks to fix zero div net: phy: Fix truncation of large IRQ numbers in phy_attached_print() Hans Wippel (2): net/smc: add missing dev_put net/smc: add receive timeout check Jerome Brunet (1): net: phy: Kconfig: Fix PHY infrastructure menu in menuconfig Johannes Berg (1): nl80211: fix null-ptr dereference on invalid mesh configuration Josef Bacik (3): net: set tb->fast_sk_family net: use inet6_rcv_saddr to compare sockets inet: fix improper empty comparison Konstantin Khlebnikov (2): net_sched: always reset qdisc backlog in qdisc_reset() net_sched/hfsc: fix curve activation in hfsc_change_class() Lipeng (6): net: hns3: Fixes initialization of phy address from firmware net: hns3: Fixes the command used to unmap ring from vector net: hns3: Fixes ring-to-vector map-and-unmap command net: hns3: Fixes the initialization of MAC address in hardware net: hns3: Fixes the default VLAN-id of PF net: hns3: Fixes the premature exit of loop when matching clients Matteo Croce (1): ipv6: fix net.ipv6.conf.all interface DAD handlers Meng Xu (2): net: compat: assert the size of cmsg copied in is as expected isdn/i4l: fetch the ppp_write buffer in one shot Mike Manning (1): net: ipv6: fix regression of no RTM_DELADDR sent after DAD failure Nisar Sayed (3): lan78xx: Fix for eeprom read/write when device auto suspend lan78xx: Allow EEPROM write for less than MAX_EEPROM_SIZE lan78xx: Use default values loaded from EEPROM/OTP after reset Randy Dunlap (1): Documentation: networking: fix ASCII art in switchdev.txt Salil Mehta (1): net: hns3: Fixes the ether address copy with appropriate API Sathya Perla (1): bnxt_en: check for ingress qdisc in flower offload Stefan Schmidt (1): MAINTAINERS: update git tree locations for ieee802154 subsystem Subash Abhinov Kasiviswanathan (1): udpv6: Fix the checksum computation when HW checksum does not apply Thomas Meyer (1): net: stmmac: Cocci spatch "of_table" Timur Tabi (1): net: qcom/emac: add software control for pause frame mode Tobias Klauser (1): bpf: devmap: pass on
[GIT] Networking
1) Fix hotplug deadlock in hv_netvsc, from Stephen Hemminger. 2) Fix double-free in rmnet driver, from Dan Carpenter. 3) INET connection socket layer can double put request sockets, fix from Eric Dumazet. 4) Don't match collect metadata-mode tunnels if the device is down, from Haishuang Yan. 5) Do not perform TSO6/GSO on ipv6 packets with extensions headers in be2net driver, from Suresh Reddy. 6) Fix scaling error in gen_estimator, from Eric Dumazet. 7) Fix 64-bit statistics deadlock in systemport driver, from Florian Fainelli. 8) Fix use-after-free in sctp_sock_dump, from Xin Long. 9) Reject invalid BPF_END instructions in verifier, from Edward Cree. Please pull, thanks a lot! The following changes since commit ad9a19d003703ae06a6e8efc64cf26a939d9e84d: Merge tag 'nfsd-4.14' of git://linux-nfs.org/~bfields/linux (2017-09-09 13:31:49 -0700) 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 8e29f97979c300406c21994986bdfcdb67fe4ff7: mlxsw: spectrum_router: Only handle IPv4 and IPv6 events (2017-09-16 09:21:43 -0700) Arkadi Sharshevsky (1): mlxsw: spectrum: Fix EEPROM access in case of SFP/SFP+ Arnd Bergmann (2): w90p910_ether: include linux/interrupt.h net: vrf: avoid gcc-4.6 warning Christophe JAILLET (1): openvswitch: Fix an error handling path in 'ovs_nla_init_match_and_action()' Colin Ian King (1): tg3: clean up redundant initialization of tnapi Cong Wang (3): net_sched: get rid of tcfa_rcu net_sched: fix reference counting of tc filter chain net_sched: carefully handle tcf_block_put() Dan Carpenter (2): net: qualcomm: rmnet: Fix a double free sctp: potential read out of bounds in sctp_ulpevent_type_enabled() David Ahern (1): net: ipv4: fix l3slave check for index returned in IP_PKTINFO David Lebrun (1): ipv6: sr: remove duplicate routing header type check David S. Miller (2): Merge branch 'net_sched-fix-filter-chain-reference-counting' Merge branch 'nfp-card-init' Edward Cree (1): bpf/verifier: reject BPF_ALU64|BPF_END Eric Dumazet (4): tcp/dccp: remove reqsk_put() from inet_child_forget() net_sched: gen_estimator: fix scaling error in bytes/packets samples tcp: update skb->skb_mstamp more carefully tcp: fix data delivery rate Florian Fainelli (1): net: systemport: Fix 64-bit stats deadlock Geert Uytterhoeven (1): net: smsc911x: Quieten netif during suspend Haishuang Yan (2): ip_tunnel: fix ip tunnel lookup in collect_md mode ip6_tunnel: fix ip6 tunnel lookup in collect_md mode Himanshu Jha (1): qed: remove unnecessary call to memset Ido Schimmel (1): mlxsw: spectrum_router: Only handle IPv4 and IPv6 events Jakub Kicinski (2): nfp: wait for board state before talking to the NSP nfp: wait for the NSP resource to appear on boot Jesper Dangaard Brouer (1): xdp: implement xdp_redirect_map for generic XDP Jiri Pirko (1): net: sched: fix use-after-free in tcf_action_destroy and tcf_del_walker Josh Hunt (1): net/sched: fix pointer check in gen_handle Kosuke Tatsukawa (1): net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs Nikolay Aleksandrov (1): net: bonding: fix tlb_dynamic_lb default value Nisar Sayed (1): smsc95xx: Configure pause time to 0x when tx flow control enabled Pavel Machek (1): Documentation: link in networking docs Pieter Jansen van Vuuren (1): nfp: add whitelist of supported flow dissector Sergei Shtylyov (1): MAINTAINERS: review Renesas DT bindings as well Stephen Hemminger (3): hv_netvsc: fix deadlock on hotplug hv_netvsc: avoid unnecessary wakeups on subchannel creation netvsc: increase default receive buffer size Suresh Reddy (1): be2net: fix TSO6/GSO issue causing TX-stall on Lancer/BEx Tobias Klauser (1): tls: make tls_sw_free_resources static Xin Long (2): sctp: fix an use-after-free issue in sctp_sock_dump sctp: do not mark sk dumped when inet_sctp_diag_fill returns err Yonghong Song (1): perf/bpf: fix a clang compilation issue Yuval Mintz (1): mlxsw: spectrum: Prevent mirred-related crash on removal Documentation/networking/filter.txt | 2 +- MAINTAINERS | 2 ++ drivers/net/bonding/bond_main.c | 17 ++--- drivers/net/bonding/bond_options.c| 3 +++ drivers/net/ethernet/broadcom/bcmsysport.c| 3 --- drivers/net/ethernet/broadcom/tg3.c | 4 ++-- drivers/net/ethernet/emulex/benet/be.h| 8 +++ drivers/net/ethernet/emulex/benet/be_main.c | 14 +++
[GIT] Networking
The iwlwifi firmware compat fix is in here as well as some other stuff: 1) Fix request socket leak introduced by BPF deadlock fix, from Eric Dumazet. 2) Fix VLAN handling with TXQs in mac80211, from Johannes Berg. 3) Missing __qdisc_drop conversions in prio and qfq schedulers, from Gao Feng. 4) Use after free in netlink nlk groups handling, from Xin Long. 5) Handle MTU update properly in ipv6 gre tunnels, from Xin Long. 6) Fix leak of ipv6 fib tables on netns teardown, from Sabrina Dubroca with follow-on fix from Eric Dumazet. 7) Need RCU and preemption disabled during generic XDP data patch, from John Fastabend. Please pull, thanks a lot! The following changes since commit 80cee03bf1d626db0278271b505d7f5febb37bba: Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (2017-09-06 15:17:17 -0700) 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 9beb8bedb05c5f3a353dba62b8fa7cbbb9ec685e: bpf: make error reporting in bpf_warn_invalid_xdp_action more clear (2017-09-08 21:13:09 -0700) Arnd Bergmann (1): isdn: isdnloop: fix logic error in isdnloop_sendbuf Avraham Stern (1): mac80211: flush hw_roc_start work before cancelling the ROC Baruch Siach (5): dt-binding: phy: don't confuse with Ethernet phy properties dt-bindings: net: don't confuse with generic PHY property dt-bindings: add SFF vendor prefix dt-binding: net: sfp binding documentation net: phy: sfp: rename dt properties to match the binding Beni Lev (1): mac80211_hwsim: Use proper TX power Chunho Lee (1): mac80211: Fix null pointer dereference with iTXQ support Daniel Borkmann (2): bpf: don't select potentially stale ri->map from buggy xdp progs bpf: make error reporting in bpf_warn_invalid_xdp_action more clear David S. Miller (4): Merge tag 'mac80211-for-davem-2017-09-07' of git://git.kernel.org/.../jberg/mac80211 Merge tag 'wireless-drivers-for-davem-2017-09-08' of git://git.kernel.org/.../kvalo/wireless-drivers Merge git://git.kernel.org/.../pablo/nf Merge branch 'xdp-bpf-fixes' Emmanuel Grumbach (1): cfg80211: honor NL80211_RRF_NO_HT40{MINUS,PLUS} Eric Dumazet (2): tcp: fix a request socket leak ipv6: fix typo in fib6_net_exit() Florian Fainelli (1): Revert "mdio_bus: Remove unneeded gpiod NULL check" Florian Westphal (5): netfilter: nf_nat: don't bug when mapping already exists netfilter: xtables: add scheduling opportunity in get_counters netfilter: nat: Revert "netfilter: nat: convert nat bysrc hash to rhashtable" netfilter: nat: use keyed locks netfilter: core: remove erroneous warn_on Gao Feng (1): sched: Use __qdisc_drop instead of kfree_skb in sch_prio and sch_qfq Haishuang Yan (2): ip_tunnel: fix setting ttl and tos value in collect_md mode ip6_tunnel: fix setting hop_limit value for ipv6 tunnel Håkon Bugge (1): rds: Fix incorrect statistics counting Ian W MORRISON (1): brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices Igor Mitsyanko (1): nl80211: look for HT/VHT capabilities in beacon's tail Ilan peer (1): mac80211: Complete ampdu work schedule during session tear down Ivan Khoronzhuk (1): net: ethernet: ti: netcp_core: no need in netif_napi_del Jiri Pirko (1): net: sched: fix memleak for chain zero Johannes Berg (3): mac80211: fix VLAN handling with TXQs mac80211: agg-tx: call drv_wake_tx_queue in proper context mac80211: fix deadlock in driver-managed RX BA session start John Fastabend (3): net: rcu lock and preempt disable missing around generic xdp bpf: add support for sockmap detach programs bpf: devmap, use cond_resched instead of cpu_relax Kees Cook (1): net: tulip: Constify tulip_tbl Kleber Sacilotto de Souza (1): tipc: remove unnecessary call to dev_net() Larry Finger (2): rtlwifi: btcoexist: Fix breakage of ant_sel for rtl8723be rtlwifi: btcoexist: Fix antenna selection code Liad Kaufman (1): mac80211: add MESH IE in the correct order Luca Coelho (1): iwlwifi: mvm: only send LEDS_CMD when the FW supports it Marcelo Ricardo Leitner (1): sctp: fix missing wake ups in some situations Mathieu Malaterre (1): davicom: Display proper debug level up to 6 Paolo Abeni (1): udp: drop head states only when all skb references are gone Sabrina Dubroca (1): ipv6: fix memory leak with multiple tables during netns destruction Sharon Dvir (1): mac80211: shorten debug prints using ht_dbg() to avoid warning Simon Dinkin (1): mac80211: fix incorrect assignment of reassoc value Vishwanath Pai (1): netfilter: xt_hashlimit: fix build error caused by 64bit division Xin Long
Re: [GIT] Networking
On Wed, Sep 6, 2017 at 10:40 PM, Luca Coelhowrote: > > This patch is not very important (unless you really like blinking lights > -- maybe I'll change my mind when the holidays approach :P). so it is > fine if you just want to revert it for now. > > In any case, I'll send a patch fixing this problem soon. No need to revert if we can get this fixed quickly enough. I'll leave the fw-31 on my laptop, so that I can continue to use it for now. Thanks, Linus
Re: [GIT] Networking
On Thu, 2017-09-07 at 05:04 +, Coelho, Luciano wrote: > On Wed, 2017-09-06 at 21:57 -0700, Linus Torvalds wrote: > > On Wed, Sep 6, 2017 at 9:11 PM, Coelho, Luciano > >wrote: > > > > > > This seems to be a problem with backwards-compatibility with FW version > > > 27. We are now in version 31[1] and upgrading will probably fix that. > > > > I can confirm that fw version 31 works. > > Great, so I know for sure that this is a backwards-compatibility issue > with the FW API. > > > > > But obviously the driver should not fail miserably like this with > > > version 27, because it claims to support it still. > > > > Not just "claims to support it", but if it's what is shipped with a > > fairly recent distro like an up-to-date version of F26, I would really > > hope that the driver can still work with it. > > I totally agree, we support a bunch of older versions for that exact > reason. We just don't really test all the supported versions very > often. We should probably change that. > > I'll make sure it still works with version 27. Okay, I found the offending patch: commit 7089ae634c50544b29b31faf1a751e8765c8de3b Author: Johannes Berg AuthorDate: Wed Jun 28 16:19:49 2017 +0200 Commit: Luca Coelho CommitDate: Wed Aug 9 09:15:32 2017 +0300 iwlwifi: mvm: use firmware LED command where applicable On devices starting from 8000 series, the host can no longer toggle the LED through the CSR_LED_REG register, but must do it via the firmware instead. Add support for this. Note that this means that the LED cannot be turned on while the firmware is off, so using an arbitrary LED trigger may not work as expected. Fixes: 503ab8c56ca0 ("iwlwifi: Add 8000 HW family support") Signed-off-by: Johannes Berg Signed-off-by: Luca Coelho Reverting it solves the problem. We introduced a new command to control the LED lights and assumed it was available in older FW versions as well, which turned out not to be the case. This patch is not very important (unless you really like blinking lights -- maybe I'll change my mind when the holidays approach :P). so it is fine if you just want to revert it for now. In any case, I'll send a patch fixing this problem soon. -- Cheers, Luca.
Re: [GIT] Networking
On Wed, 2017-09-06 at 21:57 -0700, Linus Torvalds wrote: > On Wed, Sep 6, 2017 at 9:11 PM, Coelho, Luciano >wrote: > > > > This seems to be a problem with backwards-compatibility with FW version > > 27. We are now in version 31[1] and upgrading will probably fix that. > > I can confirm that fw version 31 works. Great, so I know for sure that this is a backwards-compatibility issue with the FW API. > > But obviously the driver should not fail miserably like this with > > version 27, because it claims to support it still. > > Not just "claims to support it", but if it's what is shipped with a > fairly recent distro like an up-to-date version of F26, I would really > hope that the driver can still work with it. I totally agree, we support a bunch of older versions for that exact reason. We just don't really test all the supported versions very often. We should probably change that. I'll make sure it still works with version 27. -- Cheers, Luca.
Re: [GIT] Networking
On Wed, Sep 6, 2017 at 9:11 PM, Coelho, Lucianowrote: > > This seems to be a problem with backwards-compatibility with FW version > 27. We are now in version 31[1] and upgrading will probably fix that. I can confirm that fw version 31 works. > But obviously the driver should not fail miserably like this with > version 27, because it claims to support it still. Not just "claims to support it", but if it's what is shipped with a fairly recent distro like an up-to-date version of F26, I would really hope that the driver can still work with it. > I'm looking into this now and will provide a fix asap. Thanks, Linus
Re: [GIT] Networking
On Wed, 2017-09-06 at 16:27 -0700, Linus Torvalds wrote: > This pull request completely breaks Intel wireless for me. > > This is my trusty old XPS 13 (9350), using Intel Wireless 8260 (rev 3a). > > That remains a very standard Intel machine with absolutely zero odd > things going on. > > The firmware is iwlwifi-8000C-28.ucode from > iwl7260-firmware-25.30.13.0-75.fc26.noarch, and the kernel reports > > iwlwifi :3a:00.0: loaded firmware version 27.455470.0 op_mode iwlmvm > > the thing starts acting badly with this: > > iwlwifi :3a:00.0: FW Error notification: type 0x cmd_id 0x04 > iwlwifi :3a:00.0: FW Error notification: seq 0x service 0x0004 > iwlwifi :3a:00.0: FW Error notification: timestamp 0x5D84 > iwlwifi :3a:00.0: Microcode SW error detected. Restarting 0x200. > iwlwifi :3a:00.0: Start IWL Error Log Dump: > iwlwifi :3a:00.0: Status: 0x0100, count: 6 > iwlwifi :3a:00.0: Loaded firmware version: 27.455470.0 > iwlwifi :3a:00.0: 0x0038 | BAD_COMMAND > iwlwifi :3a:00.0: 0x00A002F0 | trm_hw_status0 > ... > iwlwifi :3a:00.0: 0x | isr status reg > ieee80211 phy0: Hardware restart was requested > iwlwifi :3a:00.0: FW error in SYNC CMD MAC_CONTEXT_CMD This seems to be a problem with backwards-compatibility with FW version 27. We are now in version 31[1] and upgrading will probably fix that. But obviously the driver should not fail miserably like this with version 27, because it claims to support it still. I'm looking into this now and will provide a fix asap. [1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/iwlwifi-8000C-31.ucode -- Cheers, Luca.
Re: [GIT] Networking
On Wed, Sep 6, 2017 at 4:27 PM, Linus Torvaldswrote: > > The firmware is iwlwifi-8000C-28.ucode from > iwl7260-firmware-25.30.13.0-75.fc26.noarch, and the kernel reports > > iwlwifi :3a:00.0: loaded firmware version 27.455470.0 op_mode iwlmvm And when I said "iwlwifi-8000C-28.ucode" I obviously meant "iwlwifi-8000C-27.ucode". At least it was _hopefully_ obvious from that "27" in the actual version number it reports. Linus
Re: [GIT] Networking
From: Linus TorvaldsDate: Wed, 6 Sep 2017 16:27:15 -0700 > This pull request completely breaks Intel wireless for me. > > This is my trusty old XPS 13 (9350), using Intel Wireless 8260 (rev 3a). > > That remains a very standard Intel machine with absolutely zero odd > things going on. > > The firmware is iwlwifi-8000C-28.ucode from > iwl7260-firmware-25.30.13.0-75.fc26.noarch, and the kernel reports ... Johannes and other Intel folks please look into this.
Re: [GIT] Networking
This pull request completely breaks Intel wireless for me. This is my trusty old XPS 13 (9350), using Intel Wireless 8260 (rev 3a). That remains a very standard Intel machine with absolutely zero odd things going on. The firmware is iwlwifi-8000C-28.ucode from iwl7260-firmware-25.30.13.0-75.fc26.noarch, and the kernel reports iwlwifi :3a:00.0: loaded firmware version 27.455470.0 op_mode iwlmvm the thing starts acting badly with this: iwlwifi :3a:00.0: FW Error notification: type 0x cmd_id 0x04 iwlwifi :3a:00.0: FW Error notification: seq 0x service 0x0004 iwlwifi :3a:00.0: FW Error notification: timestamp 0x5D84 iwlwifi :3a:00.0: Microcode SW error detected. Restarting 0x200. iwlwifi :3a:00.0: Start IWL Error Log Dump: iwlwifi :3a:00.0: Status: 0x0100, count: 6 iwlwifi :3a:00.0: Loaded firmware version: 27.455470.0 iwlwifi :3a:00.0: 0x0038 | BAD_COMMAND iwlwifi :3a:00.0: 0x00A002F0 | trm_hw_status0 ... iwlwifi :3a:00.0: 0x | isr status reg ieee80211 phy0: Hardware restart was requested iwlwifi :3a:00.0: FW error in SYNC CMD MAC_CONTEXT_CMD CPU: 2 PID: 993 Comm: NetworkManager Not tainted 4.13.0-06466-g80cee03bf1d6 #4 Hardware name: Dell Inc. XPS 13 9350/09JHRY, BIOS 1.4.17 05/10/2017 Call Trace: dump_stack+0x4d/0x70 iwl_trans_pcie_send_hcmd+0x4e7/0x530 [iwlwifi] ? wait_woken+0x80/0x80 iwl_trans_send_cmd+0x5c/0xc0 [iwlwifi] iwl_mvm_send_cmd+0x32/0x90 [iwlmvm] iwl_mvm_send_cmd_pdu+0x58/0x80 [iwlmvm] iwl_mvm_mac_ctxt_send_cmd+0x2a/0x60 [iwlmvm] ? iwl_mvm_mac_ctxt_send_cmd+0x2a/0x60 [iwlmvm] iwl_mvm_mac_ctxt_cmd_sta+0x140/0x1e0 [iwlmvm] iwl_mvm_mac_ctx_send+0x2d/0x60 [iwlmvm] iwl_mvm_mac_ctxt_add+0x43/0xc0 [iwlmvm] iwl_mvm_mac_add_interface+0x139/0x2b0 [iwlmvm] ? iwl_led_brightness_set+0x1f/0x30 [iwlmvm] drv_add_interface+0x4a/0x120 [mac80211] ieee80211_do_open+0x33d/0x820 [mac80211] ieee80211_open+0x52/0x60 [mac80211] __dev_open+0xae/0x120 __dev_change_flags+0x17b/0x1c0 dev_change_flags+0x29/0x60 do_setlink+0x2f7/0xe60 ? __nla_put+0x20/0x30 ? _raw_read_unlock_bh+0x20/0x30 ? inet6_fill_ifla6_attrs+0x4be/0x4e0 ? __kmalloc_node_track_caller+0x35/0x2b0 ? nla_parse+0x35/0x100 rtnl_newlink+0x5d2/0x8f0 ? __netlink_sendskb+0x3b/0x60 ? security_capset+0x40/0x80 ? ns_capable_common+0x68/0x80 ? ns_capable+0x13/0x20 rtnetlink_rcv_msg+0x1f9/0x280 ? rtnl_calcit.isra.26+0x110/0x110 netlink_rcv_skb+0x8e/0x130 rtnetlink_rcv+0x15/0x20 netlink_unicast+0x18b/0x220 netlink_sendmsg+0x2ad/0x3a0 sock_sendmsg+0x38/0x50 ___sys_sendmsg+0x269/0x2c0 ? addrconf_sysctl_forward+0x114/0x280 ? dev_forward_change+0x140/0x140 ? sysctl_head_finish.part.22+0x32/0x40 ? lockref_put_or_lock+0x5e/0x80 ? dput.part.22+0x13e/0x1c0 ? mntput+0x24/0x40 __sys_sendmsg+0x54/0x90 ? __sys_sendmsg+0x54/0x90 SyS_sendmsg+0x12/0x20 entry_SYSCALL_64_fastpath+0x13/0x94 RIP: 0033:0x7ff1f9933134 RSP: 002b:7ffe7419b460 EFLAGS: 0293 ORIG_RAX: 002e RAX: ffda RBX: 55604b6d82b9 RCX: 7ff1f9933134 RDX: RSI: 7ffe7419b4b0 RDI: 0007 RBP: 7ffe7419b940 R08: R09: 55604d16b400 R10: 7ff1f7cf8b38 R11: 0293 R12: 0001 R13: 0001 R14: 7ffe7419b670 R15: 55604b9515a0 iwlwifi :3a:00.0: Failed to send MAC context (action:1): -5 and it doesn't get any better from there. The next error seems to be Timeout waiting for hardware access (CSR_GP_CNTRL 0x0808) [ cut here ] WARNING: CPU: 3 PID: 1075 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1874 iwl_trans_pcie_grab_nic_access+0xdf/0xf0 [iwlwifi] and it will continue with those microcode failure errors and various other warnigns about how nothing is working. And no, nothing works. A lot of log output, no actual network access.. Linus
[GIT] Networking
1) Fix handling of pinned BPF map nodes in hash of maps, from Daniel Borkmann. 2) IPSEC ESP error paths leak memory, from Steffen Klassert. 3) We need an RCU grace period before freeing fib6_node objects, from Wei Wang. 4) Must check skb_put_padto() return value in HSR driver, from FLorian Fainelli. 5) Fix oops on PHY probe failure in ftgmac100 driver, from Andrew Jeffery. 6) Fix infinite loop in UDP queue when using SO_PEEK_OFF, from Eric Dumazet. 7) Use after free when tcf_chain_destroy() called multiple times, from Jiri Pirko. 8) Fix KSZ DSA tag layer multiple free of SKBS, from Florian Fainelli. 9) Fix leak of uninitialized memory in sctp_get_sctp_info(), inet_diag_msg_sctpladdrs_fill() and inet_diag_msg_sctpaddrs_fill(). From Stefano Brivio. 10) L2TP tunnel refcount fixes from Guillaume Nault. 11) Don't leak UDP secpath in udp_set_dev_scratch(), from Yossi Kauperman. 12) Revert a PHY layer change wrt. handling of PHY_HALTED state in phy_stop_machine(), it causes regressions for multiple people. From Florian Fainelli. 13) When packets are sent out of br0 we have to clear the offload_fwdq_mark value. 14) Several NULL pointer deref fixes in packet schedulers when their ->init() routine fails. From Nikolay Aleksandrov. 15) Aquantium devices cannot checksum offload correctly when the packet is <= 60 bytes. From Pavel Belous. 16) Fix vnet header access past end of buffer in AF_PACKET, from Benjamin Poirier. 17) Double free in probe error paths of nfp driver, from Dan Carpenter. 18) QOS capability not checked properly in DCB init paths of mlx5 driver, from Huy Nguyen. 19) Fix conflicts between firmware load failure and health_care timer in mlx5, also from Huy Nguyen. 20) Fix dangling page pointer when DMA mapping errors occur in mlx5, from Eran Ben ELisha. 21) ->ndo_setup_tc() in bnxt_en driver doesn't count rings properly, from Michael Chan. 22) Missing MSIX vector free in bnxt_en, also from Michael Chan. 23) Refcount leak in xfrm layer when using sk_policy, from Lorenzo Colitti. 24) Fix copy of uninitialized data in qlge driver, from Arnd Bergmann. 25) bpf_setsockopts() erroneously always returns -EINVAL even on success. Fix from Yuchung Cheng. 26) tipc_rcv() needs to linearize the SKB before parsing the inner headers, from Parthasarathy Bhuvaragan. 27) Fix deadlock between link status updates and link removal in netvsc driver, from Stephen Hemminger. 28) Missed locking of page fragment handling in ESP output, from Steffen Klassert. 29) Fix refcnt leak in ebpf congestion control code, from Sabrina Dubroca. 30) sxgbe_probe_config_dt() doesn't check devm_kzalloc()'s return value, from Christophe Jaillet. 31) Fix missing ipv6 rx_dst_cookie update when rx_dst is updated during early demux, from Paolo Abeni. 32) Several info leaks in xfrm_user layer, from Mathias Krause. 33) Fix out of bounds read in cxgb4 driver, from Stefano Brivio. 34) Properly propagate obsolete state of route upwards in ipv6 so that upper holders like xfrm can see it. From Xin Long. Please pull, thanks a lot! The following changes since commit 6470812e22261d2342ef1597be62e63a0423d691: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2017-08-21 14:07:48 -0700) 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 e8a732d1bc3ac313e22249c13a153c3fe54aa577: udp: fix secpath leak (2017-09-01 10:29:34 -0700) Aleksander Morgado (1): cdc_ncm: flag the u-blox TOBY-L4 as wwan Andrew Jeffery (1): net: ftgmac100: Fix oops in probe on failure to find associated PHY Antoine Tenart (1): net: mvpp2: fix the mac address used when using PPv2.2 Arnd Bergmann (1): qlge: avoid memcpy buffer overflow Benjamin Poirier (1): packet: Don't write vnet header beyond end of buffer Bob Peterson (1): tipc: Fix tipc_sk_reinit handling of -EAGAIN Christophe Jaillet (1): net: sxgbe: check memory allocation failure Cong Wang (1): wl1251: add a missing spin_lock_init() Dan Carpenter (1): nfp: double free on error in probe Daniel Borkmann (1): bpf: fix map value attribute for hash of maps David S. Miller (16): Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec Merge branch 'tipc-topology-server-fixes' Merge branch 'net-sched-couple-of-chain-fixes' Merge branch 'dst-tag-ksz-fix' Merge branch 'nfp-fixes' Merge branch 'bnxt_en-bug-fixes' Merge git://git.kernel.org/.../pablo/nf Merge branch 'tipc-buffer-reassignment-fixes' Merge branch 'r8169-Be-drop-monitor-friendly' Merge tag 'wireless-drivers-for-davem-2017-08-25' of git://git.kernel.org/.../kvalo/wireless-drivers Merge branch 'l2tp-tunnel-refs' Merge branch
Re: [GIT] Networking
(Adding linux-wireless) Pavel Machekwrites: > On Thu 2017-08-31 07:44:58, Kalle Valo wrote: >> David Miller writes: >> >> > From: Kalle Valo >> > Date: Wed, 30 Aug 2017 20:31:31 +0300 >> > >> >> AFAICS the bug was introduced by 9df86e2e702c6 back in 2010. If the bug >> >> has been there for 7 years so waiting for a few more weeks should not >> >> hurt. >> > >> > As a maintainer you have a right to handle bug fixing in that way, but >> > certainly that is not how I would handle this. >> > >> > It's easy to validate this fix, it's extremely unlikely to cause >> > a regression, and fixes a problem someone actually was able to >> > trigger. >> > >> > Deferring to -next only has the side effect of making people wait >> > longer for the fix. >> >> Yeah, you are right there. I did actually ponder which I tree should >> commit it back in July but due to various reasons decided differently. > > Can we still get the fix to v4.13-final? :-). I'm not planning to submit pull requests to 4.13 anymore. If you think this is so important that it needs to be applied in the last minute (I don't) you could always try to convince Dave to take it directly. Or better yet, push it to the stable tree. If the merge window opens on Sunday I suspect that the commit will be in Linus' tree sometime next week. Then you can submit the request to the stable team to take it. -- Kalle Valo
Re: [GIT] Networking
On Thu 2017-08-31 07:44:58, Kalle Valo wrote: > David Millerwrites: > > > From: Kalle Valo > > Date: Wed, 30 Aug 2017 20:31:31 +0300 > > > >> AFAICS the bug was introduced by 9df86e2e702c6 back in 2010. If the bug > >> has been there for 7 years so waiting for a few more weeks should not > >> hurt. > > > > As a maintainer you have a right to handle bug fixing in that way, but > > certainly that is not how I would handle this. > > > > It's easy to validate this fix, it's extremely unlikely to cause > > a regression, and fixes a problem someone actually was able to > > trigger. > > > > Deferring to -next only has the side effect of making people wait > > longer for the fix. > > Yeah, you are right there. I did actually ponder which I tree should > commit it back in July but due to various reasons decided differently. Can we still get the fix to v4.13-final? :-). Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html signature.asc Description: Digital signature
Re: [GIT] Networking
David Millerwrites: > From: Kalle Valo > Date: Wed, 30 Aug 2017 20:31:31 +0300 > >> AFAICS the bug was introduced by 9df86e2e702c6 back in 2010. If the bug >> has been there for 7 years so waiting for a few more weeks should not >> hurt. > > As a maintainer you have a right to handle bug fixing in that way, but > certainly that is not how I would handle this. > > It's easy to validate this fix, it's extremely unlikely to cause > a regression, and fixes a problem someone actually was able to > trigger. > > Deferring to -next only has the side effect of making people wait > longer for the fix. Yeah, you are right there. I did actually ponder which I tree should commit it back in July but due to various reasons decided differently. -- Kalle Valo
Re: [GIT] Networking
From: Kalle ValoDate: Wed, 30 Aug 2017 20:31:31 +0300 > AFAICS the bug was introduced by 9df86e2e702c6 back in 2010. If the bug > has been there for 7 years so waiting for a few more weeks should not > hurt. As a maintainer you have a right to handle bug fixing in that way, but certainly that is not how I would handle this. It's easy to validate this fix, it's extremely unlikely to cause a regression, and fixes a problem someone actually was able to trigger. Deferring to -next only has the side effect of making people wait longer for the fix.
Re: [GIT] Networking
David Millerwrites: > From: Kalle Valo > Date: Wed, 30 Aug 2017 17:45:31 +0300 > >> Pavel Machek writes: >> >>> Could we get this one in? >>> >>> wl1251 misses a spin_lock_init(). >>> >>> https://www.mail-archive.com/netdev@vger.kernel.org/msg177031.html >>> >>> It seems pretty trivial, yet getting the backtraces is not nice. >> >> It's in wireless-drivers-next and will be in 4.14-rc1: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=6e9aae179f290f1a44fce7ef8e9a8e2dd68ed1e4 > > Is the bug only present in net-next? AFAICS the bug was introduced by 9df86e2e702c6 back in 2010. If the bug has been there for 7 years so waiting for a few more weeks should not hurt. And Pavel can also submit it to the stable release, it should apply without problems as wl1251 doesn't have had that many patches during the last few years (if ever). -- Kalle Valo
Re: [GIT] Networking
From: Kalle ValoDate: Wed, 30 Aug 2017 17:45:31 +0300 > Pavel Machek writes: > >> Could we get this one in? >> >> wl1251 misses a spin_lock_init(). >> >> https://www.mail-archive.com/netdev@vger.kernel.org/msg177031.html >> >> It seems pretty trivial, yet getting the backtraces is not nice. > > It's in wireless-drivers-next and will be in 4.14-rc1: > > https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=6e9aae179f290f1a44fce7ef8e9a8e2dd68ed1e4 Is the bug only present in net-next?
Re: [GIT] Networking
Pavel Machekwrites: > Could we get this one in? > > wl1251 misses a spin_lock_init(). > > https://www.mail-archive.com/netdev@vger.kernel.org/msg177031.html > > It seems pretty trivial, yet getting the backtraces is not nice. It's in wireless-drivers-next and will be in 4.14-rc1: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=6e9aae179f290f1a44fce7ef8e9a8e2dd68ed1e4 -- Kalle Valo
Re: [GIT] Networking
Hi! Could we get this one in? wl1251 misses a spin_lock_init(). https://www.mail-archive.com/netdev@vger.kernel.org/msg177031.html It seems pretty trivial, yet getting the backtraces is not nice. Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html signature.asc Description: Digital signature
[GIT] Networking
1) Fix IGMP handling wrt VRF, from David Ahern. 2) Fix timer access to freed object in dccp, from Eric Dumazet. 3) Use kmalloc_array() in ptr_ring to avoid overflow cases which are triggerable by userspace. Also from Eric Dumazet. 4) Fix infinite loop in unmapping cleanup of nfp driver, from Colin Ian King. 5) Correct datagram peek handling of empty SKBs, from Matthew Dawson. 6) Fix use after free in TIPC, from Eric Dumazet. 7) When replacing a route in ipv6 we need to reset the round robin pointer, from Wei Wang. 8) Fix bug in pci_find_pcie_root_port() which was unearthed by the relaxed ordering changes, from Thierry Redding. I made sure to get an explicit ACK from Bjorn this time around :-) Please pull, thanks a lot! The following changes since commit 510c8a899caf095cb13d09d203573deef15db2fe: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-08-15 18:52:28 -0700) 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 348a4002729ccab8b888b38cbc099efa2f2a2036: ipv6: repair fib6 tree in failure case (2017-08-20 20:06:56 -0700) Alexander Potapenko (1): sctp: fully initialize the IPv6 address in sctp_v6_to_addr() Chris Packham (1): switchdev: documentation: minor typo fixes Colin Ian King (3): nfp: fix infinite loop on umapping cleanup netxen: fix incorrect loop counter decrement irda: do not leak initialized list.dev to userspace Daniel Borkmann (2): bpf, doc: improve sysctl knob description bpf, doc: also add s390x as arch to sysctl description David Ahern (1): net: igmp: Use ingress interface rather than vrf device David Howells (1): rxrpc: Fix oops when discarding a preallocated service call Eric Dumazet (5): dccp: defer ccid_hc_tx_delete() at dismantle time ptr_ring: use kmalloc_array() ipv4: better IP_MAX_MTU enforcement tun: handle register_netdevice() failures properly tipc: fix use-after-free Eric Leblond (1): tools lib bpf: improve warning Huy Nguyen (1): net/mlx4_core: Enable 4K UAR if SRIOV module parameter is not enabled Jiri Pirko (1): net: sched: fix p_filter_chain check in tcf_chain_flush Konstantin Khlebnikov (1): net_sched: fix order of queue length updates in qdisc_replace() Liping Zhang (1): openvswitch: fix skb_panic due to the incorrect actions attrlen Matthew Dawson (1): datagram: When peeking datagrams with offset < 0 don't skip empty skbs Michael Ellerman (1): bpf: Update sysctl documentation to list all supported architectures Neal Cardwell (1): tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP Roopa Prabhu (1): net: check and errout if res->fi is NULL when RTM_F_FIB_MATCH is set Thierry Reding (1): PCI: Allow PCI express root ports to find themselves Wei Wang (2): ipv6: reset fn->rr_ptr when replacing route ipv6: repair fib6 tree in failure case Xin Long (1): net: sched: fix NULL pointer dereference when action calls some targets Documentation/networking/switchdev.txt | 4 ++-- Documentation/sysctl/net.txt| 47 --- drivers/net/ethernet/mellanox/mlx4/main.c | 4 ++-- drivers/net/ethernet/netronome/nfp/nfp_net_common.c | 3 +-- drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c | 2 +- drivers/net/tun.c | 3 +++ drivers/pci/pci.c | 9 - include/linux/ptr_ring.h| 9 + include/linux/skb_array.h | 3 ++- include/net/ip.h| 4 ++-- include/net/sch_generic.h | 5 - include/net/sock.h | 4 +--- net/core/datagram.c | 12 +--- net/dccp/proto.c| 14 -- net/ipv4/igmp.c | 10 +- net/ipv4/route.c| 13 ++--- net/ipv4/tcp_input.c| 3 +-- net/ipv4/udp.c | 3 ++- net/ipv6/ip6_fib.c | 28 +++- net/ipv6/udp.c | 3 ++- net/irda/af_irda.c | 2 +- net/openvswitch/actions.c | 1 + net/openvswitch/datapath.c | 7 --- net/openvswitch/datapath.h | 2 ++ net/rxrpc/call_accept.c | 1 + net/sched/act_ipt.c | 2 ++ net/sched/cls_api.c | 2 +-
Re: [GIT] Networking
From: Linus TorvaldsDate: Tue, 15 Aug 2017 19:21:16 -0700 > On Tue, Aug 15, 2017 at 5:52 PM, David Miller wrote: >> >> dingtianhong (4): >> PCI: Disable PCIe Relaxed Ordering if unsupported >> PCI: Disable Relaxed Ordering for some Intel processors >> PCI: Disable Relaxed Ordering Attributes for AMD A1100 >> PCI: fix oops when try to find Root Port for a PCI device > > I would *really* have liked to see an ack on these from Bjorn Helgaas. > Was he even cc'd? > > And while singling those commits out, I would also really have liked > to see an actual name there. > > The name exists in the sign-off chain: > > Signed-off-by: Ding Tianhong > > but for some reason not in the actual commit author data, where it's > just "dingtianhong". > > Pulled, but slightly unhappy. Bjorn did review these changes, and certainly shaped the final result, but indeed I should have gotten an explicit ACK from him. I'll make sure I do so next time.
Re: [GIT] Networking
On Tue, Aug 15, 2017 at 5:52 PM, David Millerwrote: > > dingtianhong (4): > PCI: Disable PCIe Relaxed Ordering if unsupported > PCI: Disable Relaxed Ordering for some Intel processors > PCI: Disable Relaxed Ordering Attributes for AMD A1100 > PCI: fix oops when try to find Root Port for a PCI device I would *really* have liked to see an ack on these from Bjorn Helgaas. Was he even cc'd? And while singling those commits out, I would also really have liked to see an actual name there. The name exists in the sign-off chain: Signed-off-by: Ding Tianhong but for some reason not in the actual commit author data, where it's just "dingtianhong". Pulled, but slightly unhappy. Linus
[GIT] Networking
1) Fix TCP checksum offload handling in iwlwifi driver, from Emmanuel Grumbach. 2) In ksz DSA tagging code, free SKB if skb_put_padto() fails. From Vivien Didelot. 3) Fix two regressions with bonding on wireless, from Andreas Born. 4) Fix build when busypoll is disabled, from Daniel Borkmann. 5) Fix copy_linear_skb() wrt. SO_PEEK_OFF, from Eric Dumazet. 6) Set SKB cached route properly in inet_rtm_getroute(), from Florian Westphal. 7) Fix PCI-E relaxed ordering handling in cxgb4 driver, from Ding Tianhong. 8) Fix module refcnt leak in ULP code, from Sabrina Dubroca. 9) Fix use of GFP_KERNEL in atomic contexts in AF_KEY code, from Eric Dumazet. 10) Need to purge socket write queue in dccp_destroy_sock(), also from Eric Dumazet. 11) Make bpf_trace_printk() work properly on 32-bit architectures, from Daniel Borkmann. Please pull, thanks a lot! The following changes since commit 26273939ace935dd7553b31d279eab30b40f7b9a: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-08-10 10:30:29 -0700) 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 88a5c690b66110ad255380d8f629c629cf6ca559: bpf: fix bpf_trace_printk on 32 bit archs (2017-08-15 17:32:15 -0700) Al Viro (1): udp: fix linear skb reception with PEEK_OFF Andreas Born (2): bonding: require speed/duplex only for 802.3ad, alb and tlb bonding: ratelimit failed speed/duplex update warning Anton Vasilyev (1): mISDN: Fix null pointer dereference at mISDN_FsmNew Arend Van Spriel (1): brcmfmac: feature check for multi-scheduled scan fails on bcm4343x devices Avraham Stern (1): iwlwifi: mvm: start mac queues when deferred tx frames are purged Bert Kenward (1): sfc: don't try and read ef10 data on non-ef10 NIC Casey Leedom (2): net/cxgb4: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag net/cxgb4vf: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag Christophe Jaillet (1): iwlwifi: mvm: Fix a memory leak in an error handling path in 'iwl_mvm_sar_get_wgds_table()' Daniel Borkmann (3): net: fix compilation when busy poll is not enabled bpf: fix two missing target_size settings in bpf_convert_ctx_access bpf: fix bpf_trace_printk on 32 bit archs David S. Miller (3): Merge branch 'bpf-Minor-fix-in-bpf_convert_ctx_access' Merge branch 'Add-new-PCI_DEV_FLAGS_NO_RELAXED_ORDERING-flag' Merge tag 'wireless-drivers-for-davem-2017-08-15' of git://git.kernel.org/.../kvalo/wireless-drivers Emmanuel Grumbach (4): iwlwifi: mvm: fix TCP CSUM offload with WEP and A000 series iwlwifi: add TLV for MLME offload firmware capability iwlwifi: split the regulatory rules when the bandwidth flags require it iwlwifi: mvm: don't WARN when a legit race happens in A-MPDU Eric Dumazet (6): udp: harden copy_linear_skb() af_key: do not use GFP_KERNEL in atomic contexts dccp: purge write queue in dccp_destroy_sock() tcp: fix possible deadlock in TCP stack vs BPF filter ipv6: fix NULL dereference in ip6_route_dev_notify() ipv4: fix NULL dereference in free_fib_info_rcu() Florian Westphal (1): ipv4: route: fix inet_rtm_getroute induced crash Gregory Greenman (2): iwlwifi: mvm: set A-MPDU bit upon empty BA notification from FW iwlwifi: mvm: rs: fix TLC statistics collection Haim Dreyfuss (1): iwlwifi: fix fw_pre_next_step to apply also for C step Jon Paul Maloy (2): tipc: accept PACKET_MULTICAST packets tipc: avoid inheriting msg_non_seq flag when message is returned Kalle Valo (2): Merge tag 'iwlwifi-for-kalle-2017-08-02' of git://git.kernel.org/.../iwlwifi/iwlwifi-fixes Merge tag 'iwlwifi-for-kalle-2018-08-09' of git://git.kernel.org/.../iwlwifi/iwlwifi-fixes Konstantin Khlebnikov (4): net/sched/hfsc: allocate tcf block for hfsc root class net_sched: reset pointers to tcf blocks in classful qdiscs' destructors net_sched/sfq: update hierarchical backlog when drop packet net_sched: remove warning from qdisc_hash_add Naftali Goldstein (3): iwlwifi: mvm: set the RTS_MIMO_PROT bit in flag mask when sending sta to fw mac80211: add api to start ba session timer expired flow iwlwifi: mvm: send delba upon rx ba session timeout Romain Perier (1): net: stmmac: Use the right logging function in stmmac_mdio_register Sabrina Dubroca (1): tcp: ulp: avoid module refcnt leak in tcp_set_ulp Simon Horman (1): nfp: do not update MTU from BH in flower app Tonghao Zhang (1): net: Fix a typo in comment about sock flags. Tzipi Peres (1): iwlwifi: add the new 9000 series PCI IDs Vivien Didelot (1): net: dsa: ksz: fix skb freeing Wei Wang (1): ipv6: release rt6->rt6i_idev properly during ifdown dingtianhong (4):
[GIT] Networking
1) Fix handling of initial STATE message in TIPC, from Jon Paul Maloy. 2) Fix stats handling in bcm_sysport_get_stats(), from Florian Fainelli. 3) Reject 16777215 VNI value in geneve_validate(), from Girish Moodalbail. 4) Fix initial IGMP sysctl setting regression, from Nikolay Borisov. 5) Once a UFO fragmented frame is treated as UFO, we should continue doing so. Likewise once a frame has been segmented, we should continue doing that and not try to convert it to a UFO frame. From Willem de Bruijn. 6) Test the AF_PACKET RX/TX ring pg_vec state under the socket lock to prevent races. From Willem de Bruijn. Please pull, thanks a lot! The following changes since commit 48fb6f4db940e92cfb16cd878cddd59ea6120d06: futex: Remove unnecessary warning from get_futex_key (2017-08-09 14:00:54 -0700) 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 c27927e372f0785f3303e8fad94b85945e2c97b7: packet: fix tp_reserve race in packet_set_ring (2017-08-10 09:52:12 -0700) Florian Fainelli (1): net: systemport: Fix software statistics for SYSTEMPORT Lite Girish Moodalbail (1): geneve: maximum value of VNI cannot be used Jon Paul Maloy (1): tipc: remove premature ESTABLISH FSM event at link synchronization Nikolay Borisov (1): igmp: Fix regression caused by igmp sysctl namespace code. Willem de Bruijn (2): udp: consistently apply ufo or fragmentation packet: fix tp_reserve race in packet_set_ring Xin Long (1): net: sched: set xt_tgchk_param par.nft_compat as 0 in ipt_init_target drivers/net/ethernet/broadcom/bcmsysport.c | 4 drivers/net/geneve.c | 2 +- net/ipv4/af_inet.c | 7 +++ net/ipv4/igmp.c| 6 -- net/ipv4/ip_output.c | 8 +--- net/ipv4/udp.c | 2 +- net/ipv6/ip6_output.c | 7 --- net/packet/af_packet.c | 13 + net/sched/act_ipt.c| 2 +- net/tipc/node.c| 4 +--- 10 files changed, 33 insertions(+), 22 deletions(-)
[GIT] Networking
The pull requests are getting smaller, that's progress I suppose :-) 1) Fix infinite loop in CIPSO option parsing, from Yujuan Qi. 2) Fix remote checksum handling in VXLAN and GUE tunneling drivers, from Koichiro Den. 3) Missing u64_stats_init() calls in several drivers, from Florian Fainelli. 4) TCP can set the congestion window to an invalid ssthresh value after congestion window reductions, from Yuchung Cheng. 5) Fix BPF jit branch generation on s390, from Daniel Borkmann. 6) Correct MIPS ebpf JIT merge, from David Daney. 7) Correct byte order test in BPF test_verifier.c, from Daniel Borkmann. 8) Fix various crashes and leaks in ASIX driver, from Dean Jenkins. 9) Handle SCTP checksums properly in mlx4 driver, from Davide Caratti. 10) We can potentially enter tcp_connect() with a cached route already, due to fastopen, so we have to explicitly invalidate it. 11) skb_warn_bad_offload() can bark in legitimate situations, fix from Willem de Bruijn. Please pull, thanks a lot! The following changes since commit bc78d646e708dabd1744ca98744dea316f459497: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-07-31 22:36:42 -0700) 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 8d63bee643f1fb53e472f0e135cae4eb99d62d19: net: avoid skb_warn_bad_offload false positives on UFO (2017-08-08 21:39:01 -0700) Anton Volkov (1): hysdn: fix to a race condition in put_log_buffer Bjørn Mork (1): qmi_wwan: fix NULL deref on disconnect Christophe Jaillet (1): qed: Fix a memory allocation failure test in 'qed_mcp_cmd_init()' Daniel Borkmann (3): bpf, s390: fix jit branch offset related to ldimm64 bpf, s390: fix build for libbpf and selftest suite bpf: fix byte order test in test_verifier David Daney (1): MIPS: Add missing file for eBPF JIT. David S. Miller (9): Merge branch 'ethernet-ti-cpts-fix-tx-timestamping-timeout' Merge branch 'net-Fix-64-bit-statistics-seqcount-init' Merge branch 'lan78xx-Fixes' Merge branch 'mlx4-misc-fixes' Merge tag 'batadv-net-for-davem-20170802' of git://git.open-mesh.org/linux-merge Merge branch 'tcp-xmit-timer-rearming' Merge branch 'mlxsw-Couple-of-fixes' Merge branch 's390-bpf-jit-fixes' Merge branch 'asix-Improve-robustness' Davide Caratti (1): net/mlx4_en: don't set CHECKSUM_COMPLETE on SCTP packets Dean Jenkins (3): asix: Add rx->ax_skb = NULL after usbnet_skb_return() asix: Ensure asix_rx_fixup_info members are all reset asix: Fix small memory leak in ax88772_unbind() Eric Dumazet (2): net: fix keepalive code vs TCP_FASTOPEN_CONNECT tcp: fastopen: tcp_connect() must refresh the route Florian Fainelli (7): b44: Initialize 64-bit stats seqcount i40e: Initialize 64-bit statistics TX ring seqcount ixgbe: Initialize 64-bit stats seqcounts nfp: Initialize RX and TX ring 64-bit stats seqcounts gtp: Initialize 64-bit per-cpu stats correctly netvsc: Initialize 64-bit stats seqcount ipvlan: Fix 64-bit statistics seqcount initialization Grygorii Strashko (4): ptp: introduce ptp auxiliary worker net: ethernet: ti: cpts: convert to use ptp auxiliary worker net: ethernet: ti: cpts: fix tx timestamping timeout net: ethernet: ti: cpts: fix fifo read in cpts_find_ts Guillaume Nault (1): ppp: fix xmit recursion detection on ppp channels Hector Martin (1): usb: qmi_wwan: add D-Link DWM-222 device ID Håkon Bugge (1): rds: Reintroduce statistics counting Ido Schimmel (2): mlxsw: spectrum_switchdev: Don't warn about valid situations mlxsw: spectrum_switchdev: Release multicast groups during fini Inbar Karmy (1): net/mlx4_en: Fix wrong indication of Wake-on-LAN (WoL) support Jack Morgenstein (3): net/mlx4_core: Fix sl_to_vl_change bit offset in flags2 dump net/mlx4_core: Fix namespace misalignment in QinQ VST support commit net/mlx4_core: Fixes missing capability bit in flags2 capability dump John Crispin (1): net: dsa: mediatek: add adjust link support for user ports Julian Wiedmann (1): s390/qeth: fix L3 next-hop in xmit qeth hdr K. Den (2): vxlan: fix remcsum when GRO on and CHECKSUM_PARTIAL boundary is outer UDP gue: fix remcsum when GRO on and CHECKSUM_PARTIAL boundary is outer UDP Linus Lüssing (1): batman-adv: fix TT sync flag inconsistencies Neal Cardwell (3): tcp: introduce tcp_rto_delta_us() helper for xmit timer fix tcp: enable xmit timer fix by having TLP use time when RTO should fire tcp: fix xmit timer to only be reset if data ACKed/SACKed Nisar Sayed (2): lan78xx: USB fast connect/disconnect crash fix lan78xx: Fix to handle hard_header_len update Thomas
[GIT] Networking
1) Handle notifier registry failures properly in tun/tap driver, from Tonghao Zhang. 2) Fix bpf verifier handling of subtraction bounds and add a testcase for this, from Edward Cree. 3) Increase reset timeout in ftgmac100 driver, from Ben Herrenschmidt. 4) Fix use after free in prd_retire_rx_blk_timer_exired() in AF_PACKET, from Cong Wang. 5) Fix SElinux regression due to recent UDP optimizations, from Paolo Abeni. 6) We accidently increment IPSTATS_MIB_FRAGFAILS in the ipv6 code paths, fix from Stefano Brivio. 7) Fix some mem leaks in dccp, from Xin Long. 8) Adjust MDIO_BUS kconfig deps to avoid build errors, from Arnd Bergmann. 9) Mac address length check and buffer size fixes from Cong Wang. 10) Don't leak sockets in ipv6 udp early demux, from Paolo Abeni. 11) Fix return value when copy_from_user() fails in bpf_prog_get_info_by_fd(), from Daniel Borkmann. 12) Handle PHY_HALTED properly in phy library state machine, from Florian Fainelli. 13) Fix OOPS in fib_sync_down_dev(), from Ido Schimmel. 14) Fix truesize calculation in virtio_net which led to performance regressions, from Michael S. Tsirkin. Please pull, thanks a lot! The following changes since commit 96080f697786e0a30006fcbcc5b53f350fcb3e9f: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-07-20 16:33:39 -0700) 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 cc75f8514db6a3aec517760fccaf954e5b46478c: samples/bpf: fix bpf tunnel cleanup (2017-07-31 22:02:47 -0700) Alex Vesker (1): net/mlx5e: IPoIB, Modify add/remove underlay QPN flows Arend Van Spriel (2): brcmfmac: fix regression in brcmf_sdio_txpkt_hdalign() brcmfmac: fix memleak due to calling brcmf_sdiod_sgtable_alloc() twice Arnd Bergmann (3): net: phy: rework Kconfig settings for MDIO_BUS phy: bcm-ns-usb3: fix MDIO_BUS dependency tcp: avoid bogus gcc-7 array-bounds warning Aviv Heller (1): net/mlx5: Consider tx_enabled in all modes on remap Benjamin Herrenschmidt (2): ftgmac100: Increase reset timeout ftgmac100: Make the MDIO bus a child of the ethernet device Colin Ian King (1): net: tc35815: fix spelling mistake: "Intterrupt" -> "Interrupt" Dan Carpenter (1): iwlwifi: missing error code in iwl_trans_pcie_alloc() Daniel Borkmann (2): bpf: don't indicate success when copy_from_user fails bpf: fix bpf_prog_get_info_by_fd to dump correct xlated_prog_len Daniel Stone (1): brcmfmac: Don't grow SKB by negative size David S. Miller (4): Merge branch 'bpf-fix-verifier-min-max-handling-in-BPF_SUB' Merge tag 'wireless-drivers-for-davem-2017-07-21' of git://git.kernel.org/.../kvalo/wireless-drivers Merge tag 'mlx5-fixes-2017-07-27-V2' of git://git.kernel.org/.../saeed/linux Merge tag 'wireless-drivers-for-davem-2017-07-28' of git://git.kernel.org/.../kvalo/wireless-drivers Edward Cree (2): selftests/bpf: subtraction bounds test bpf/verifier: fix min/max handling in BPF_SUB Emmanuel Grumbach (3): iwlwifi: dvm: prevent an out of bounds access iwlwifi: mvm: fix a NULL pointer dereference of error in recovery iwlwifi: fix tracing when tx only is enabled Eran Ben Elisha (1): net/mlx5: Clean SRIOV eswitch resources upon VF creation failure Eugenia Emantayev (7): net/mlx5: Fix mlx5_ifc_mtpps_reg_bits structure size net/mlx5e: Add field select to MTPPS register net/mlx5e: Fix broken disable 1PPS flow net/mlx5e: Change 1PPS out scheme net/mlx5e: Add missing support for PTP_CLK_REQ_PPS request net/mlx5e: Fix wrong delay calculation for overflow check scheduling net/mlx5e: Schedule overflow check work to mlx5e workqueue Florian Fainelli (4): net: dsa: Initialize ds->cpu_port_mask earlier net: phy: Correctly process PHY_HALTED in phy_stop_machine() MAINTAINERS: Add more files to the PHY LIBRARY section Revert "net: bcmgenet: Remove init parameter from bcmgenet_mii_config" Gao Feng (1): ppp: Fix a scheduling-while-atomic bug in del_chan Ido Schimmel (2): mlxsw: spectrum_router: Don't offload routes next in list ipv4: fib: Fix NULL pointer deref during fib_sync_down_dev() Ilan Tayari (1): net/mlx5e: Fix outer_header_zero() check size Jakub Kicinski (1): bpf: don't zero out the info struct in bpf_obj_get_info_by_fd() Jason Wang (1): Revert "vhost: cache used event for better performance" Joel Stanley (1): ftgmac100: return error in ftgmac100_alloc_rx_buf Johannes Berg (1): iwlwifi: mvm: defer setting IWL_MVM_STATUS_IN_HW_RESTART Kalle Valo (1): Merge tag 'iwlwifi-for-kalle-2017-07-21' of git://git.kernel.org/.../iwlwifi/iwlwifi-fixes Larry Finger (1): Revert "rtlwifi: btcoex: rtl8723be: fix ant_sel not
[GIT] Networking
1) BPF verifier signed/unsigned value tracking fix, from Daniel Borkmann, Edward Cree, and Josef Bacik. 2) Fix memory allocation length when setting up calls to ->ndo_set_mac_address, from Cong Wang. 3) Add a new cxgb4 device ID, from Ganesh Goudar. 4) Fix FIB refcount handling, we have to set it's initial value before the configure callback (which can bump it). From David Ahern. 5) Fix double-free in qcom/emac driver, from Timur Tabi. 6) A bunch of gcc-7 string format overflow warning fixes from Arnd Bergmann. 7) Fix link level headroom tests in ip_do_fragment(), from Vasily Averin. 8) Fix chunk walking in SCTP when iterating over error and parameter headers. From Alexander Potapenko. 9) TCP BBR congestion control fixes from Neal Cardwell. 10) Fix SKB fragment handling in bcmgenet driver, from Doug Berger. 11) BPF_CGROUP_RUN_PROG_SOCK_OPS needs to check for null __sk, from Cong Wang. 12) xmit_recursion in ppp driver needs to be per-device not per-cpu, from Gao Feng. 13) Cannot release skb->dst in UDP if IP options processing needs it. From Paolo Abeni. 14) Some netdev ioctl ifr_name[] NULL termination fixes. From Alexander Levin and myself. 15) Revert some rtnetlink notification changes that are causing regressions, from David Ahern. Please pull, thanks a lot! The following changes since commit edaf3825182958a1fd5e39708fcb6ea48eca2060: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-07-12 19:30:57 -0700) 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 cbf5ecb305601d063dc94a57680dfbc3f96c188d: net: bonding: Fix transmit load balancing in balance-alb mode (2017-07-20 15:34:40 -0700) Abhishek Shah (3): net: ethernet: bgmac: Remove unnecessary 'return' from platform_bgmac_idm_write net: ethernet: bgmac: Make IDM register space optional Documentation: devicetree: net: optional idm regs for bgmac Alexander Potapenko (2): sctp: don't dereference ptr before leaving _sctp_walk_{params, errors}() ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check() Arnd Bergmann (6): isdn: divert: fix sprintf buffer overflow warning net: niu: fix format string overflow warning: bnx2x: fix format overflow warning net: thunder_bgx: avoid format string overflow warning vmxnet3: avoid format strint overflow warning liquidio: fix possible eeprom format string overflow Arun Parameswaran (1): dt-binding: ptp: Add SoC compatibility strings for dte ptp clock Arvind Yadav (10): isdn: hisax: constify pci_device_id. isdn: hisax: hfc4s8s_l1: constify pci_device_id. isdn: hisax: hisax_fcpcipnp: constify pci_device_id. isdn: eicon: constify pci_device_id. isdn: mISDN: netjet: constify pci_device_id. isdn: mISDN: hfcmulti: constify pci_device_id. isdn: mISDN: w6692: constify pci_device_id. isdn: mISDN: avmfritz: constify pci_device_id. isdn: mISDN: hfcpci: constify pci_device_id. isdn: avm: c4: constify pci_device_id. Christophe Jaillet (1): atm: zatm: Fix an error handling path in 'zatm_init_one()' Colin Ian King (5): net: broadcom: bnx2x: make a couple of const arrays static net: stmmac: make const array route_possibilities static rt2x00: make const array glrt_table static dccp: make const array error_code static net: tehuti: don't process data if it has not been copied from userspace Dan Carpenter (1): netfilter: fix netfilter_net_init() return Daniel Borkmann (4): bpf: fix mixed signed/unsigned derived min/max value bounds bpf: allow to specify log level and reduce it for test_verifier bpf: fix up test cases with mixed signed/unsigned bounds bpf: more tests for mixed signed and unsigned bounds checks David Ahern (2): net: set fib rule refcount after malloc Revert "rtnetlink: Do not generate notifications for CHANGEADDR event" David S. Miller (6): Merge branch 'bgmac-stingray-soc' Merge branch 'isdn-const-pci_device_ids' Merge branch 'bcmgenet-Fragmented-SKB-corrections' Merge git://git.kernel.org/.../pablo/nf net: Zero terminate ifr_name in dev_ifname(). Merge branch 'BPF-map-value-adjust-fix' Doug Berger (2): net: bcmgenet: Fix unmapping of fragments in bcmgenet_xmit() net: bcmgenet: Free skb after last Tx frag Edward Cree (1): bpf: add test for mixed signed and unsigned bounds checks Enrico Mioso (1): cdc_ncm: Set NTB format again after altsetting switch for Huawei devices Eugeniy Paltsev (1): NET: dwmac: Make dwmac reset unconditional Florian Fainelli (2): dt-bindings: net: Remove duplicate NSP Ethernet MAC binding document net: dsa: b53: Add missing ARL entries for BCM53125 Florian Westphal
[GIT] Networking
Nothing super serious in here except perhaps the brcmfmac fix. 1) Fix 64-bit division in mlx5 IPSEC offload support, from Ilan Tayari and Arnd Bergmann. 2) Fix race in statistics gathering in bnxt_en driver, from Michael Chan. 3) Can't use a mutex in RCU reader protected section on tap driver, from Cong WANG. 4) Fix mdb leak in bridging code, from Eduardo Valentin. 5) Fix free of wrong pointer variable in nfp driver, from Dan Carpenter. 6) Buffer overflow in brcmfmac driver, from Arend van SPriel. 7) ioremap_nocache() return value needs to be checked in smsc911x driver, from Alexey Khoroshilov. Please pull, thanks a lot. The following changes since commit f263fbb8d60824993c1b64385056a3cfdbb21d45: Merge tag 'pci-v4.13-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci (2017-07-08 15:51:57 -0700) 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 d93b07f8a689cde962d4f97668a74ab76f55734d: net: stmmac: revert "support future possible different internal phy mode" (2017-07-12 14:41:56 -0700) Ahmad Fatoum (1): net: Fix minor code bug in timestamping.txt Alexey Khoroshilov (1): smsc911x: Add check for ioremap_nocache() return code Arend van Spriel (1): brcmfmac: fix possible buffer overflow in brcmf_cfg80211_mgmt_tx() Arnd Bergmann (1): net/mlx5: IPSec, fix 64-bit division correctly Bert Kenward (1): sfc: don't read beyond unicast address list Christophe Jaillet (4): cisco: enic: Fic an error handling path in 'vnic_dev_init_devcmd2()' net: stmmac: Fix error handling path in 'alloc_dma_rx_desc_resources()' net: stmmac: Fix error handling path in 'alloc_dma_tx_desc_resources()' net: stmmac: Make 'alloc_dma_[rt]x_desc_resources()' look even closer Dan Carpenter (2): nfp: freeing the wrong variable net: ipmr: ipmr_get_table() returns NULL David S. Miller (5): Merge tag 'mlx5-fixes-2017-07-09' of https://git.kernel.org/.../saeed/linux Merge branch 'bnxt_en-Bug-fixes' Merge branch 'stmmac-dma-resources-fixes' Merge branch 'mlxsw-spectrum-Various-fixes' Merge branch 'net-doc-fixes' Eduardo Valentin (1): bridge: mdb: fix leak on complete_info ptr on fail path Guilherme G. Piccoli (1): cxgb4: fix BUG() on interrupt deallocating path of ULD Huy Nguyen (1): net/mlx5e: Initialize CEE's getpermhwaddr address buffer to 0xff Ido Schimmel (4): mlxsw: spectrum_router: Add missing rollback mlxsw: spectrum_router: Fix use-after-free in route replace mlxsw: spectrum_switchdev: Remove unused variable mlxsw: spectrum_switchdev: Check status of memory allocation Ilan Tayari (6): net/mlx5: Add missing include in lib/gid.c net/mlx5: IPSec, Fix 64-bit division on 32-bit builds net/mlx5: FPGA, make mlx5_fpga_device_brb static net/mlx5: FPGA, Fix datatype mismatch net/mlx5: Build wq.o even if MLX5_CORE_EN is not selected net/mlx5: Add Makefiles for subdirectories Kalderon, Michal (1): qed: Fix printk option passed when printing ipv6 addresses LABBE Corentin (1): net: stmmac: revert "support future possible different internal phy mode" Lin Yun Sheng (1): net: hns: Bugfix for Tx timeout handling in hns driver Michael Chan (3): bnxt_en: Fix race conditions in .ndo_get_stats64(). bnxt_en: Fix bug in ethtool -L. bnxt_en: Fix SRIOV on big-endian architecture. WANG Cong (1): tap: convert a mutex to a spinlock Yonghong Song (1): samples/bpf: fix a build issue stephen hemminger (2): socket: add documentation for missing elements datagram: fix kernel-doc comments Documentation/networking/timestamping.txt | 6 ++ drivers/net/ethernet/broadcom/bnxt/bnxt.c | 42 +- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 4 +++- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 3 ++- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 2 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 16 +++- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c| 42 +- drivers/net/ethernet/cisco/enic/vnic_dev.c| 9 + drivers/net/ethernet/hisilicon/hns/hns_enet.c | 16 +--- drivers/net/ethernet/mellanox/mlx5/core/Makefile | 4 ++-- drivers/net/ethernet/mellanox/mlx5/core/accel/Makefile| 1 + drivers/net/ethernet/mellanox/mlx5/core/en_accel/Makefile | 1 + drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c| 2 ++
Re: [GIT] Networking
On Tue, Jul 11, 2017 at 01:31:14PM -0700, David Miller wrote: > > Acked-by: David S. Miller> > Looks good, is this going via my tree or your's? I'll push it along. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Re: [GIT] Networking
From: Herbert XuDate: Mon, 10 Jul 2017 22:00:48 +0800 > crypto: af_alg - Avoid sock_graft call warning > > The newly added sock_graft warning triggers in af_alg_accept. > It's harmless as we're essentially doing sock->sk = sock->sk. > > The sock_graft call is actually redundant because all the work > it does is subsumed by sock_init_data. However, it was added > to placate SELinux as it uses it to initialise its internal state. > > This patch avoisd the warning by making the SELinux call directly. > > Reported-by: Linus Torvalds > Signed-off-by: Herbert Xu Acked-by: David S. Miller Looks good, is this going via my tree or your's?
Re: [GIT] Networking
On Mon, Jul 10, 2017 at 08:10:02AM -0400, Sowmini Varadhan wrote: > > The reason that the WARN_ON is triggered is that af_alg_accept() calls > sock_init_data() which does > >2636 if (sock) { > : >2639 sock->sk= sk; Oh yes. This started out with just sock_init_data which would not have triggered your warning. Then someone came along and added sock_graft which basically duplicates work already done in sock_init_data. In fact the reason they wanted sock_graft was purely to call security_sock_graft to initialise some SELinux state. So we could avoid your warning by calling that directly. ---8<--- crypto: af_alg - Avoid sock_graft call warning The newly added sock_graft warning triggers in af_alg_accept. It's harmless as we're essentially doing sock->sk = sock->sk. The sock_graft call is actually redundant because all the work it does is subsumed by sock_init_data. However, it was added to placate SELinux as it uses it to initialise its internal state. This patch avoisd the warning by making the SELinux call directly. Reported-by: Linus TorvaldsSigned-off-by: Herbert Xu diff --git a/crypto/af_alg.c b/crypto/af_alg.c index 3556d8e..92a3d54 100644 --- a/crypto/af_alg.c +++ b/crypto/af_alg.c @@ -287,7 +287,7 @@ int af_alg_accept(struct sock *sk, struct socket *newsock, bool kern) goto unlock; sock_init_data(newsock, sk2); - sock_graft(sk2, newsock); + security_sock_graft(sk2, newsock); security_sk_clone(sk, sk2); err = type->accept(ask->private, sk2); -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Re: [GIT] Networking
On (07/10/17 18:05), Herbert Xu wrote: > > Hmm, I can't see the problem in af_alg_accept. The struct socket > comes directly from sys_accept() which creates it using sock_alloc. > > So the only thing I can think of is that the memory returned by > sock_alloc is not zeroed and therefore the WARN_ON is just reading > garbage. Then it is odd that this WARN_ON is not triggered for other sockets (e.g., for TCP sockets), though it happens easily with AF_ALG. But it's not sock_alloc() - that function is returning a properly zeroed ->sk. The reason that the WARN_ON is triggered is that af_alg_accept() calls sock_init_data() which does 2636 if (sock) { : 2639 sock->sk= sk; So we can do one of the following: 1. drop the WARN_ON(), which makes true leaks hard to detect 2. change the WARN_ON() to WARN_ON(parent->sk && parent->sk != sk) #2 assumes that all the refcount book-keeping is being done correctly (there is the danger that we end up taking 2 refs on the sk) --Sowmini
Re: [GIT] Networking
On Sun, Jul 09, 2017 at 09:40:43PM +0100, David Miller wrote: > > > It look like PF_ALG sets up a ->sk in alg_create() (but this > > would get over-written in alg_accept()?) No it does not. The struct socket comes from sys_accept() and AFAICS it doesn't carry a struck sock with it. > > Cc'ing Herbert to see if this is expected behavior (and PF_ALG > > somehow does the right thing with the refcount for the ->sk > > set up in alg_create) in which case I suppose we should drop the > > WARN_ON. > > I think we've found yet another socket leak, this time in > AF_ALG. Hmm, I can't see the problem in af_alg_accept. The struct socket comes directly from sys_accept() which creates it using sock_alloc. So the only thing I can think of is that the memory returned by sock_alloc is not zeroed and therefore the WARN_ON is just reading garbage. Cheers, -- Email: Herbert XuHome Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Re: [GIT] Networking
From: Sowmini VaradhanDate: Sun, 9 Jul 2017 15:11:31 -0400 > On (07/09/17 11:49), Linus Torvalds wrote: >> >> On Sat, Jul 8, 2017 at 3:36 AM, David Miller wrote: >> > >> > 8) Fix socket leak on accept() in RDS, from Sowmini Varadhan. Also >> >add a WARN_ON() to sock_graft() so other protocol stacks don't trip >> >over this as well. >> >> Hmm. This one triggers for me on both my desktop and laptop at bootup. >> Bog-standard machines, running F25 and F24 respectively. >> >> The warning doesn't seem particularly useful, although maybe that >> "alg_accept()" gives people who know this code enough of a clue. > > My initial question was whether sock_graft() should do a sock_put() > before cutting loose the existing parent->sk and assigning a new > parent->sk (https://www.spinics.net/lists/netdev/msg442191.html) > > It look like PF_ALG sets up a ->sk in alg_create() (but this > would get over-written in alg_accept()?) > > Cc'ing Herbert to see if this is expected behavior (and PF_ALG > somehow does the right thing with the refcount for the ->sk > set up in alg_create) in which case I suppose we should drop the > WARN_ON. I think we've found yet another socket leak, this time in AF_ALG.
Re: [GIT] Networking
On (07/09/17 11:49), Linus Torvalds wrote: > > On Sat, Jul 8, 2017 at 3:36 AM, David Millerwrote: > > > > 8) Fix socket leak on accept() in RDS, from Sowmini Varadhan. Also > >add a WARN_ON() to sock_graft() so other protocol stacks don't trip > >over this as well. > > Hmm. This one triggers for me on both my desktop and laptop at bootup. > Bog-standard machines, running F25 and F24 respectively. > > The warning doesn't seem particularly useful, although maybe that > "alg_accept()" gives people who know this code enough of a clue. My initial question was whether sock_graft() should do a sock_put() before cutting loose the existing parent->sk and assigning a new parent->sk (https://www.spinics.net/lists/netdev/msg442191.html) It look like PF_ALG sets up a ->sk in alg_create() (but this would get over-written in alg_accept()?) Cc'ing Herbert to see if this is expected behavior (and PF_ALG somehow does the right thing with the refcount for the ->sk set up in alg_create) in which case I suppose we should drop the WARN_ON. --Sowmini > [ cut here ] > WARNING: CPU: 1 PID: 492 at ./include/net/sock.h:1700 > af_alg_accept+0x1bf/0x1f0 > CPU: 1 PID: 492 Comm: systemd-cryptse Not tainted 4.12.0-09010-g2b976203417c > #1 > Hardware name: System manufacturer System Product Name/Z170-K, BIOS > 1803 05/06/2016 > RIP: 0010:af_alg_accept+0x1bf/0x1f0 > Call Trace: > alg_accept+0x15/0x20 > SYSC_accept4+0x105/0x210 > ? getnstimeofday64+0xe/0x20 > ? __audit_syscall_entry+0xb1/0xf0 > ? syscall_trace_enter+0x1bd/0x2d0 > ? __audit_syscall_exit+0x1a5/0x2a0 > SyS_accept+0x10/0x20 > do_syscall_64+0x61/0x140 > entry_SYSCALL64_slow_path+0x25/0x25 > ---[ end trace a35e5baea85df269 ]---
Re: [GIT] Networking
On Sat, Jul 8, 2017 at 3:36 AM, David Millerwrote: > > 8) Fix socket leak on accept() in RDS, from Sowmini Varadhan. Also >add a WARN_ON() to sock_graft() so other protocol stacks don't trip >over this as well. Hmm. This one triggers for me on both my desktop and laptop at bootup. Bog-standard machines, running F25 and F24 respectively. The warning doesn't seem particularly useful, although maybe that "alg_accept()" gives people who know this code enough of a clue. Linus [ cut here ] WARNING: CPU: 1 PID: 492 at ./include/net/sock.h:1700 af_alg_accept+0x1bf/0x1f0 CPU: 1 PID: 492 Comm: systemd-cryptse Not tainted 4.12.0-09010-g2b976203417c #1 Hardware name: System manufacturer System Product Name/Z170-K, BIOS 1803 05/06/2016 RIP: 0010:af_alg_accept+0x1bf/0x1f0 Call Trace: alg_accept+0x15/0x20 SYSC_accept4+0x105/0x210 ? getnstimeofday64+0xe/0x20 ? __audit_syscall_entry+0xb1/0xf0 ? syscall_trace_enter+0x1bd/0x2d0 ? __audit_syscall_exit+0x1a5/0x2a0 SyS_accept+0x10/0x20 do_syscall_64+0x61/0x140 entry_SYSCALL64_slow_path+0x25/0x25 ---[ end trace a35e5baea85df269 ]---
[GIT] Networking
Mostly fixing some light fallout from the changes that went into the merge window. 1) Fix memory leaks on network namespace teardown in netfilter, from Liping Zhang. 2) When comparing ipv6 nexthops, we have to take the lightweight tunnel state into account as well. From David Ahern. 3) Fix socket option object length check in the new TLS code, from Matthias Rosenfelder. 4) Fix memory leak in nfp driver flower support, from Jakub Kicinski. 5) Several netlink attribute validation fixes in cfg80211, from Srinivas Dasari. 6) Fix context array leak in virtio_net, from Jason Wang. 7) SKB use after free in hns driver, from Yusheng Lin. 8) Fix socket leak on accept() in RDS, from Sowmini Varadhan. Also add a WARN_ON() to sock_graft() so other protocol stacks don't trip over this as well. Please pull, thanks a lot! The following changes since commit 9b51f04424e17051a89ab32d892ca66b2a104825: Merge branch 'parisc-4.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux (2017-07-05 17:41:31 -0700) 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 e8df760307830ca26cf380a9a4b36468a0352fa5: net: ethernet: mediatek: remove useless code in mtk_probe() (2017-07-08 11:27:55 +0100) Christophe Jaillet (1): arcnet: com20020-pci: Fix an error handling path in 'com20020pci_probe()' David Ahern (1): net: ipv6: Compare lwstate in detecting duplicate nexthops David S. Miller (5): Merge git://git.kernel.org/.../pablo/nf Merge tag 'mac80211-for-davem-2017-07-07' of git://git.kernel.org/.../jberg/mac80211 net: Update networking MAINTAINERS entry. Merge branch 'hns-fixes' Merge branch 'rds-tcp-sock_graft-leak' Derek Chickles (1): liquidio: fix bug in soft reset failure detection Geert Uytterhoeven (1): ptp: dte: Use LL suffix for 64-bit constants Gustavo A. R. Silva (1): net: ethernet: mediatek: remove useless code in mtk_probe() Jakub Kicinski (1): nfp: flower: add missing clean up call to avoid memory leaks Jason Wang (1): virtio-net: fix leaking of ctx array Liping Zhang (2): netfilter: nf_ct_dccp/sctp: fix memory leak after netns cleanup netfilter: ebt_nflog: fix unexpected truncated packet Matthias Rosenfelder (1): TLS: Fix length check in do_tls_getsockopt_tx() Nicolas Dichtel (1): doc: SKB_GSO_[IPIP|SIT] have been replaced Nikolay Aleksandrov (1): vrf: fix bug_on triggered by rx when destroying a vrf Roopa Prabhu (1): mpls: fix uninitialized in_label var warning in mpls_getroute Sowmini Varadhan (2): rds: tcp: use sock_create_lite() to create the accept socket net/sock: add WARN_ON(parent->sk) in sock_graft() Srinivas Dasari (4): cfg80211: Check if PMKID attribute is of expected size cfg80211: Check if NAN service ID is of expected size cfg80211: Define nla_policy for NL80211_ATTR_LOCAL_MESH_POWER_MODE cfg80211: Validate frequencies nested in NL80211_ATTR_SCAN_FREQUENCIES WANG Cong (1): bonding: avoid NETDEV_CHANGEMTU event when unregistering slave Wu Fengguang (1): tcp: md5: tcp_md5_do_lookup_exact() can be static Yunsheng Lin (2): net: hns: Fix a wrong op phy C45 code net: hns: Fix a skb used after free bug Zheng Li (1): sctp: set the value of flowi6_oif to sk_bound_dev_if to make sctp_v6_get_dst to find the correct route entry. vishnuvardhan (1): net: macb: Adding Support for Jumbo Frames up to 10240 Bytes in SAMA5D3 Documentation/networking/segmentation-offloads.txt | 2 +- MAINTAINERS | 2 -- drivers/net/arcnet/com20020-pci.c | 6 -- drivers/net/bonding/bond_main.c | 15 +-- drivers/net/ethernet/cadence/macb_main.c| 3 ++- drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c | 2 +- drivers/net/ethernet/cavium/liquidio/cn66xx_device.c| 2 +- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 22 ++ drivers/net/ethernet/hisilicon/hns/hns_enet.h | 6 +++--- drivers/net/ethernet/hisilicon/hns_mdio.c | 2 +- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 5 - drivers/net/ethernet/netronome/nfp/flower/main.c| 1 + drivers/net/virtio_net.c| 1 + drivers/net/vrf.c | 11 ++- drivers/ptp/ptp_dte.c | 2 +- include/linux/netdevice.h | 1 + include/net/ip6_route.h | 8 include/net/sock.h | 1 + net/bridge/netfilter/ebt_nflog.c| 1 + net/core/dev.c
[GIT] Networking
1) Need to access netdev->num_rx_queues behind an accessor in netvsc driver otherwise the build breaks with some configs, from Arnd Bergmann. 2) Add dummy xfrm_dev_event() so that build doesn't fail when CONFIG_XFRM_OFFLOAD is not set. From Hangbin Liu. 3) Don't OOPS when pfkey_msg2xfrm_state() signals an erros, from Dan Carpenter. 4) Fix MCDI command size for filter operations in sfc driver, from Martin Habets. 5) Fix UFO segmenting so that we don't calculate incorrect checksums, from Michal Kubecek. 6) When ipv6 datagram connects fail, reset destination address and port. From Wei Wang. 7) TCP disconnect must reset the cached receive DST, from WANG Cong. 8) Fix sign extension bug on 32-bit in dev_get_stats(), from Eric Dumazet. 9) fman driver has to depend on HAS_DMA, from Madalin Bucur. 10) Fix bpf pointer leak with xadd in verifier, from Daniel Borkmann. 11) Fix negative page counts with GFO, from Michal Kubecek. Please pull, thanks a lot! The following changes since commit 48b6bbef9a1789f0365c1a385879a1fea4460016: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-06-21 12:40:20 -0700) 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 d58299a478c416c0b48e4b31c6332fe7beb63000: sfc: fix attempt to translate invalid filter ID (2017-06-29 15:59:38 -0400) Andrew F. Davis (1): net: usb: asix88179_178a: Add support for the Belkin B2B128 Arnd Bergmann (1): netvsc: don't access netdev->num_rx_queues directly Colin Ian King (1): Trivial fix to spelling mistake in arc_printk message Dan Carpenter (3): xfrm: Oops on error in pfkey_msg2xfrm_state() xfrm: NULL dereference on allocation failure rocker: move dereference before free Daniel Borkmann (1): bpf: prevent leaking pointer via xadd on unpriviledged David S. Miller (4): Merge branch 'macvlan-Fix-some-issues-with-changing-mac-addresses' Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec Merge branch 'bnxt_en-fixes' Merge branch 'arcnet-fixes' Edward Cree (1): sfc: fix attempt to translate invalid filter ID Eric Dumazet (1): net: prevent sign extension in dev_get_stats() Gao Feng (1): net: sched: Fix one possible panic when no destroy callback Hangbin Liu (2): xfrm: fix xfrm_dev_event() missing when compile without CONFIG_XFRM_OFFLOAD xfrm: move xfrm_garbage_collect out of xfrm_policy_flush Ido Schimmel (1): mlxsw: spectrum_router: Fix NULL pointer dereference Jason Wang (1): virtio-net: serialize tx routine during reset Lokesh Vutla (1): drivers: net: cpsw-common: Fix reading of mac address for am43 SoCs Madalin Bucur (1): fsl/fman: add dependency on HAS_DMA Martin Habets (1): sfc: Fix MCDI command size for filter operations Michael Chan (2): bnxt_en: Add missing logic to handle TPA end error conditions. bnxt_en: Fix netpoll handling. Michael Grzeschik (4): arcnet: change irq handler to lock irqsave arcnet: com20020: remove needless base_addr assignment arcnet: com20020-pci: fix dev_id calculation arcnet: com20020-pci: add missing pdev setup in netdev structure Michal Kubeček (2): net: account for current skb length when deciding about UFO net: handle NAPI_GRO_FREE_STOLEN_HEAD case also in napi_frags_finish() Mintz, Yuval (1): bnx2x: Don't log mc removal needlessly Richard Cochran (1): net: dp83640: Avoid NULL pointer dereference. Serhey Popovych (1): veth: Be more robust on network device creation when no attributes Vlad Yasevich (4): macvlan: Do not return error when setting the same mac address macvlan: Fix passthru macvlan mac address inheritance macvlan: convert port passthru to flags. macvlan: Let passthru macvlan correctly restore lower mac address WANG Cong (4): ipv6: only call ip6_route_dev_notify() once for NETDEV_UNREGISTER ipv6: avoid unregistering inet6_dev for loopback sit: use __GFP_NOWARN for user controlled allocation tcp: reset sk_rx_dst in tcp_disconnect() Wei Liu (1): xen-netback: correctly schedule rate-limited queues Wei Wang (1): net: ipv6: reset daddr and dport in sk if connect() fails Yossi Kuperman (2): xfrm6: Fix IPv6 payload_len in xfrm6_transport_finish esp6_offload: Fix IP6CB(skb)->nhoff for ESP GRO Zach Brown (1): net/phy: micrel: configure intterupts after autoneg workaround drivers/net/arcnet/arcnet.c | 7 --- drivers/net/arcnet/capmode.c | 2 +- drivers/net/arcnet/com20020-pci.c | 6 -- drivers/net/arcnet/com20020.c | 2 -- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 2 +-
[GIT] Networking
1) Fix refcounting wrt. timers which hold onto inet6 address objects, from Xin Long. 2) Fix an ancient bug in wireless wext ioctls, from Johannes Berg. 3) Firmware handling fixes in brcm80211 driver, from Arend Van Spriel. 4) Several mlx5 driver fixes (firmware readiness, timestamp cap reporting, devlink command validity checking, tc offloading, etc.) From Eli Cohen, Maor Dickman, Chris Mi, and Or Gerlitz. 5) Fix dst leak in IP/IP6 tunnels, from Haishuang Yan. 6) Fix dst refcount bug in decnet, from Wei Wang. 7) Netdev can be double freed in register_vlan_device(). Fix from Gao Feng. 8) Don't allow object to be destroyed while it is being dumped in SCTP, from Xin Long. 9) Fix dpaa_eth build when modular, from Madalin Bucur. 10) Fix throw route leaks, from Serhey Popovych. 11) IFLA_GROUP missing from if_nlmsg_size() and ifla_policy[] table, also from Serhey Popovych. 12) Fix premature TX SKB free in stmmac, from Niklas Cassel. Please pull, thanks a lot! The following changes since commit a090bd4ff8387c409732a8e059fbf264ea0bdd56: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-06-15 18:09:47 +0900) 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 b4846fc3c8559649277e3e4e6b5cec5348a8d208: igmp: add a missing spin_lock_init() (2017-06-20 15:51:57 -0400) Arend Van Spriel (5): brcmfmac: add parameter to pass error code in firmware callback brcmfmac: use firmware callback upon failure to load brcmfmac: unbind all devices upon failure in firmware callback brcmfmac: fix brcmf_fws_add_interface() for USB devices brcmfmac: fix uninitialized warning in brcmf_usb_probe_phase2() Chris Mi (1): net/mlx5e: Fix min inline value for VF rep SQs David Howells (1): rxrpc: Fix several cases where a padded len isn't checked in ticket decode David S. Miller (4): Merge tag 'mlx5-fixes-2017-06-14' of git://git.kernel.org/.../saeed/linux Merge tag 'mac80211-for-davem-2017-06-16' of git://git.kernel.org/.../jberg/mac80211 Merge branch 'net-fix-loadable-module-for-DPAA-Ethernet' Merge tag 'wireless-drivers-for-davem-2017-06-20' of git://git.kernel.org/.../kvalo/wireless-drivers Edward Cree (1): sfc: remove duplicate up_write on VF filter_sem Eli Cohen (1): net/mlx5: Wait for FW readiness before initializing command interface Gao Feng (1): net: 8021q: Fix one possible panic caused by BUG_ON in free_netdev Haishuang Yan (3): ip_tunnel: fix potential issue in ip_tunnel_rcv ip6_tunnel: fix potential issue in __ip6_tnl_rcv ip6_tunnel: Correct tos value in collect_md mode Johannes Berg (3): wireless: wext: remove ndo_do_ioctl fallback wireless: wext: use struct iwreq earlier in the call chain dev_ioctl: copy only the smaller struct iwreq for wext Krzysztof Kozlowski (1): dt-bindings: net: sms911x: Add missing optional VDD regulators Lin Yun Sheng (1): net/hns:bugfix of ethtool -t phy self_test Madalin Bucur (2): fsl/fman: propagate dma_ops dpaa_eth: reuse the dma_ops provided by the FMan MAC device Maor Dickman (1): net/mlx5e: Fix timestamping capabilities reporting Niklas Cassel (1): net: stmmac: free an skb first when there are no longer any descriptors using it Or Gerlitz (3): net/mlx5: Properly check applicability of devlink eswitch commands net/mlx5e: Remove TC header re-write offloading of ip tos net/mlx5e: Avoid doing a cleanup call if the profile doesn't have it Raju Rangoju (1): cxgb4: notify uP to route ctrlq compl to rdma rspq Sebastian Siewior (1): net/core: remove explicit do_softirq() from busy_poll_stop() Serhey Popovych (3): fib_rules: Resolve goto rules target on delete ipv6: Do not leak throw route references rtnetlink: add IFLA_GROUP to ifla_policy WANG Cong (1): igmp: add a missing spin_lock_init() Wei Wang (1): decnet: always not take dst->__refcnt when inserting dst into hash table Xin Long (3): ipv6: fix calling in6_ifa_hold incorrectly for dad work sctp: return next obj by passing pos + 1 into sctp_transport_get_idx sctp: ensure ep is not destroyed before doing the dump xypron.g...@gmx.de (1): Doc: net: dsa: b53: update location of referenced dsa.txt Documentation/devicetree/bindings/net/dsa/b53.txt | 2 +- Documentation/devicetree/bindings/net/smsc911x.txt | 1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 10 ++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 +- drivers/net/ethernet/freescale/fman/mac.c | 2 ++ drivers/net/ethernet/hisilicon/hns/hns_ethtool.c| 16 ++-- drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c| 8
[GIT] Networking
1) The netlink attribute passed in to dev_set_alias() is not necessarily NULL terminated, don't use strlcpy() on it. From Alexander Potapenko. 2) Fix implementation of atomics in arm64 bpf JIT, from Daniel Borkmann. 3) Correct the release of netdevs and driver private data in certain circumstances. 4) Sanitize netlink message length properly in decnet, from Mateusz Jurczyk. 5) Don't leak kernel data in rtnl_fill_vfinfo() netlink blobs. From Yuval Mintz. 6) Hash secret is never initialized in ipv6 ILA translation code, from Arnd Bergmann. I guess those clang warnings about unused inline functions are useful for something! 7) Fix endian selection in bpf_endian.h, from Daniel Borkmann. 8) Sanitize sockaddr length before dereferncing any fields in AF_UNIX and CAIF. From Mateusz Jurczyk. 9) Fix timestamping for GMAC3 chips in stmmac driver, from Mario Molitor. 10) Do not leak netdev on dev_alloc_name() errors in mac80211, from Johannes Berg. 11) Fix locking in sctp_for_each_endpoint(), from Xin Long. 12) Fix wrong memset size on 32-bit in snmp6, from Christian Perle. 13) Fix use after free in ip_mc_clear_src(), from WANG Cong. 14) Fix regressions caused by ICMP rate limiting changes in 4.11, from Jesper Dangaard Brouer. Please pull, thanks a lot! The following changes since commit b29794ec95c6856b316c2295904208bf11ffddd9: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-06-06 14:30:17 -0700) 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 640f93cc6ea7327588be3cc0849d1342aac0393a: i40e: Fix a sleep-in-atomic bug (2017-06-14 23:45:22 -0400) Alexander Potapenko (1): net: don't call strlen on non-terminated string in dev_set_alias() Andreas Pape (1): batman-adv: fix memory leak when dropping packet from other gateway Antoine Tenart (1): net: mvpp2: do not bypass the mvpp22_port_mii_set function Arnd Bergmann (1): ila_xlat: add missing hash secret initialization Ashwanth Goli (1): net: rps: fix uninitialized symbol warning Avraham Stern (1): mac80211: Fix incorrect condition when checking rx timestamp Bjørn Mork (1): qmi_wwan: new Telewell and Sierra device IDs Christian Lamparter (2): net: emac: fix reset timeout with AR8035 phy net: emac: fix and unify emac_mdio functions Christian Perle (1): proc: snmp6: Use correct type in memset Dan Carpenter (1): net/act_pedit: fix an error code Daniel Borkmann (2): bpf, arm64: use separate register for state in stxr bpf, tests: fix endianness selection David Ahern (2): net: ipv6: Release route when device is unregistering net: vrf: Make add_fib_rules per network namespace flag David S. Miller (13): net: Fix inconsistent teardown and release of private netdev state. hsi: Fix build regression due to netdev destructor fix. Revert "decnet: dn_rtmsg: Improve input length sanitization in dnrmg_receive_user_skb" Merge branch 'netvsc-bug-fixes' net: Fix build regression in rtl8723bs staging driver. Merge tag 'linux-can-fixes-for-4.12-20170609' of git://git.kernel.org/.../mkl/linux-can Merge branch 'bnx2x-Fix-malicious-VFs-indication' Revert "net: fec: Add a fec_enet_clear_ethtool_stats() stub for CONFIG_M5272" Merge branch 'mvpp2-fixes' Merge branch 'ena-fixes' Merge tag 'mlx5-fixes-2017-06-11' of git://git.kernel.org/.../saeed/linux Merge tag 'mac80211-for-davem-2017-06-13' of git://git.kernel.org/.../jberg/mac80211 Merge tag 'batadv-net-for-davem-20170613' of git://git.open-mesh.org/linux-merge Dominik Heidler (1): l2tp: cast l2tp traffic counter to unsigned Donald Sharp (1): net: ipmr: Fix some mroute forwarding issues in vrf's Emmanuel Grumbach (2): mac80211: don't look at the PM bit of BAR frames mac80211: don't send SMPS action frame in AP mode when not needed Fabio Estevam (1): net: fec: Add a fec_enet_clear_ethtool_stats() stub for CONFIG_M5272 Florian Fainelli (1): net: phy: Fix MDIO_THUNDER dependencies Huy Nguyen (1): net/mlx5: Remove several module events out of ethtool stats Jacob Keller (1): i40e: fix handling of HW ATR eviction Jason A. Donenfeld (1): mac80211/wpa: use constant time memory comparison for MACs Jesper Dangaard Brouer (1): net: don't global ICMP rate limit packets originating from loopback Jia-Ju Bai (3): net: caif: Fix a sleep-in-atomic bug in cfpkt_create_pfx net: tipc: Fix a sleep-in-atomic bug in tipc_msg_reverse i40e: Fix a sleep-in-atomic bug Joe Perches (2): net: phy: add missing SPEED_14000 netconsole: Remove duplicate "netconsole: " logging prefix Johan Hovold (1): can: peak_usb: fix product-id endianness in error message
[GIT] Networking
1) Made TCP congestion control documentation match current reality, from Anmol Sarma. 2) Various build warning and failure fixes from Arnd Bergmann. 3) Fix SKB list leak in ipv6_gso_segment(). 4) Use after free in ravb driver, from Eugeniu Rosca. 5) Don't use udp_poll() in ping protocol driver, from Eric Dumazet. 6) Don't crash in PCI error recovery of cxgb4 driver, from Guilherme G. Piccoli. 7) _SRC_NAT_DONE_BIT needs to be cleared using atomics, from Liping Zhang. 8) Use after free in vxlan deletion, from Mark Bloch. 9) Fix ordering of NAPI poll enabled in ethoc driver, from Max Filippov. 10) Fix stmmac hangs with TSO, from Niklas Cassel. 11) Fix crash in CALIPSO ipv6, from Richard Haines. 12) Clear nh_flags properly on mpls link up. From Roopa Prabhu. 13) Fix regression in sk_err socket error queue handling, noticed by ping applications. From Soheil Hassas Yeganeh. 14) Update mlx4/mlx5 MAINTAINERS information. Please pull, thanks a lot! The following changes since commit e2a9aa5ab2a4d1fb05fcdfa9661d54e437093297: Merge tag 'led_fixes_for_4-12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds (2017-05-26 14:02:30 -0700) 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 1d3028f4c16487d63861ab6c68451768a7a109df: net: stmmac: fix a broken u32 less than zero check (2017-06-06 16:26:28 -0400) Andrew Lunn (2): net: dsa: mv88e6xxx: Add eeprom-length to binding net: dsa: mv88e6xxx: Add missing static to stub functions Anmol Sarma (1): net: Update TCP congestion control documentation Arend Van Spriel (1): brcmfmac: fix alignment configuration on host using 64-bit DMA Arnd Bergmann (2): net: dsa: mv88e6xxx: Add missing static to stub functions net/mlx5: avoid build warning for uniprocessor Ben Hutchings (1): ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt() Bjorn Andersson (1): wcn36xx: Close SMD channel on device removal Björn Töpel (1): i40e/i40evf: proper update of the page_offset field Chopra, Manish (1): qlcnic: Fix tunnel offload for 82xx adapters Colin Ian King (2): net: stmmac: ensure jumbo_frm error return is correctly checked for -ve value net: stmmac: fix a broken u32 less than zero check David S. Miller (8): Merge git://git.kernel.org/.../pablo/nf Merge branch 'mlx4-mlx5-MAINTAINERS-update' Merge branch 'ARM-imx6ul-14x14-evk-Fix-suspend-over-nfs-by-phy' Merge tag 'mac80211-for-davem-2017-06-02' of git://git.kernel.org/.../jberg/mac80211 ipv6: Fix leak in ipv6_gso_segment(). Revert "sit: reload iphdr in ipip6_rcv" Merge branch '40GbE' of git://git.kernel.org/.../jkirsher/net-queue Merge tag 'wireless-drivers-for-davem-2017-06-06' of git://git.kernel.org/.../kvalo/wireless-drivers Davide Caratti (1): netfilter: conntrack: fix false CRC32c mismatch using paged skb Douglas Caetano dos Santos (1): tcp: reinitialize MTU probing when setting MSS in a TCP repair Emmanuel Grumbach (1): iwlwifi: mvm: fix firmware debug restart recording Eric Dumazet (1): net: ping: do not abuse udp_poll() Eric Garver (1): geneve: fix needed_headroom and max_mtu for collect_metadata Eugeniu Rosca (1): ravb: Fix use-after-free on `ifconfig eth0 down` Firo Yang (1): hdlcdrv: Fix divide by zero in hdlcdrv_ioctl Florian Fainelli (3): net: systemport: Fix missing Wake-on-LAN interrupt for SYSTEMPORT Lite net: dsa: Move dsa_switch_{suspend,resume} out of legacy.c net: dsa: Fix stale cpu_switch reference after unbind then bind Ganesh Goudar (2): cxgb4: update latest firmware version supported cxgb4: avoid enabling napi twice to the same queue Gregory Greenman (1): iwlwifi: mvm: rs: start using LQ command color Guilherme G. Piccoli (1): cxgb4: avoid crash on PCI error recovery path Gustavo A. R. Silva (1): net: freescale: fix potential null pointer dereference Haim Dreyfuss (1): iwlwifi: mvm: Fix command queue number on d0i3 flow Haishuang Yan (2): sit: reload iphdr in ipip6_rcv devlink: fix potential memort leak Ido Shamay (1): net/mlx4: Check if Granular QoS per VF has been enabled before updating QP qos_vport Jia-Ju Bai (3): isdn: Fix a sleep-in-atomic bug qlcnic: Fix a sleep-in-atomic bug in qlcnic_82xx_hw_write_wx_2M and qlcnic_82xx_hw_read_wx_2M mISDN: Fix a sleep-in-atomic bug Johannes Berg (4): mac80211: fix TX aggregation start/stop callback race mac80211: fix dropped counter in multiqueue RX iwlwifi: tt: move ucode_loaded check under mutex iwlwifi: mvm: clear new beacon command template struct Kalle Valo (1): Merge tag 'iwlwifi-for-kalle-2017-06-05' of
[GIT] Networking
1) Fix state pruning in bpf verifier wrt. alignment, from Daniel Borkmann. 2) Handle non-linear SKBs properly in SCTP ICMP parsing, from Davide Caratti. 3) Fix bit field definitions for rss_hash_type of descriptors in mlx5 driver, from Jesper Brouer. 4) Defer slave->link updates until bonding is ready to do a full commit to the new settings, from Nithin Sujir. 5) Properly reference count ipv4 FIB metrics to avoid use after free situations, from Eric Dumazet and several others including Cong Wang and Julian Anastasov. 6) Fix races in llc_ui_bind(), from Lin Zhang. 7) Fix regression of ESP UDP encapsulation for TCP packets, from Steffen Klassert. 8) Fix mdio-octeon driver Kconfig deps, from Randy Dunlap. 9) Fix regression in setting DSCP on ipv6/GRE encapsulation, from Peter Dawson. Please pull, thanks a lot! The following changes since commit fadd2ce5a3680fb265694f573cbfb8bcb7d6c9d5: Merge tag 'pstore-v4.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux (2017-05-22 19:31:07 -0700) 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 3fb07daff8e99243366a081e5129560734de4ada: ipv4: add reference counting to metrics (2017-05-26 14:57:07 -0400) Alexander Potapenko (1): net: rtnetlink: bail out from rtnl_fdb_dump() on parse error Andrew Lunn (1): net: phy: marvell: Limit errata to 88m1101 Antony Antony (1): xfrm: fix state migration copy replay sequence numbers Arend Van Spriel (1): cfg80211: make cfg80211_sched_scan_results() work from atomic context Daniel Borkmann (5): bpf: fix incorrect pruning decision when alignment must be tracked bpf: properly reset caller saved regs after helper call and ld_abs/ind bpf: add bpf_clone_redirect to bpf_helper_changes_pkt_data bpf: fix wrong exposure of map_flags into fdinfo for lpm bpf: add various verifier test cases David Daney (1): test_bpf: Add a couple of tests for BPF_JSGE. David S. Miller (6): Merge branch 'master' of git://git.kernel.org/.../klassert/ipsec Merge branch 'sctp-dupcookie-fixes' Merge tag 'mac80211-for-davem-2017-05-23' of git://git.kernel.org/.../jberg/mac80211 Merge tag 'mlx5-fixes-2017-05-23' of git://git.kernel.org/.../saeed/linux Merge branch 'q-in-q-checksums' Merge branch 'bpf-fixes' Davide Caratti (1): sctp: fix ICMP processing if skb is non-linear Erez Shitrit (1): net/mlx5e: IPoIB, handle RX packet correctly Eric Dumazet (1): ipv4: add reference counting to metrics Eric Garver (1): geneve: fix fill_info when using collect_metadata Gustavo A. R. Silva (1): net: fix potential null pointer dereference Ihar Hrachyshka (1): arp: fixed -Wuninitialized compiler warning Ilan Tayari (1): xfrm: Fix NETDEV_DOWN with IPSec offload Jesper Dangaard Brouer (1): mlx5: fix bug reading rss_hash_type from CQE Mohamad Haj Yahia (1): net/mlx5: Avoid using pending command interface slots Nithin Sujir (1): bonding: Don't update slave->link until ready to commit Oliver Neukum (1): cdc-ether: divorce initialisation with a filter reset and a generic method Or Gerlitz (5): net/mlx5e: Use the correct delete call on offloaded TC encap entry detach net/sched: act_csum: Add accessors for offloading drivers net/mlx5e: Allow TC csum offload if applied together with pedit action net/mlx5e: Properly enforce disallowing of partial field re-write offload net/mlx5e: Fix warnings around parsing of TC pedit actions Peter Dawson (1): ip6_tunnel, ip6_gre: fix setting of DSCP on encapsulated packets Quentin Schulz (1): net: fec: add post PHY reset delay DT property Rajkumar Manoharan (1): mac80211: strictly check mesh address extension mode Randy Dunlap (1): net/phy: fix mdio-octeon dependency and build Roman Kapl (1): net: move somaxconn init from sysctl code Sabrina Dubroca (1): xfrm: fix stack access out of bounds with CONFIG_XFRM_SUB_POLICY Steffen Klassert (2): esp4: Fix udpencap for local TCP packets. af_key: Fix slab-out-of-bounds in pfkey_compile_policy. Tariq Toukan (1): net/mlx5: Tolerate irq_set_affinity_hint() failures Uwe Kleine-König (1): net: ethernet: ax88796: don't call free_irq without request_irq first Vlad Yasevich (3): vlan: Fix tcp checksum offloads in Q-in-Q vlans be2net: Fix offload features for Q-in-Q packets virtio-net: enable TSO/checksum offloads for Q-in-Q vlans Wei Wang (1): tcp: avoid fastopen API to be used on AF_UNSPEC Xin Long (2): sctp: fix stream update when processing dupcookie sctp: set new_asoc temp when processing dupcookie linzhang (1): net: llc: add lock_sock in llc_ui_bind to avoid a race condition
[GIT] Networking
Mostly netfilter bug fixes in here, but we have some bits elsewhere as well. 1) Don't do SNAT replies for non-NATed connections in IPVS, from Julian Anastasov. 2) Don't delete conntrack helpers while they are still in use, from Liping Zhang. 3) Fix zero padding in xtables's xt_data_to_user(), from Willem de Bruijn. 4) Add proper RCU protection to nf_tables_dump_set() because we cannot guarantee that we hold the NFNL_SUBSYS_NFTABLES lock. From Liping Zhang. 5) Initialize rcv_mss in tcp_disconnect(), from Wei Wang. 6) smsc95xx devices can't handle IPV6 checksums fully, so don't advertise support for offloading them. From Nisar Sayed. 7) Fix out-of-bounds access in __ip6_append_data(), from Eric Dumazet. 8) Make atl2_probe() propagate the error code properly on failures, from Alexey Khoroshilov. 9) arp_target[] in bond_check_params() is used uninitialized. This got changes from a global static to a local variable, which is how this mistake happened. Fix from Jarod Wilson. 10) Fix fallout from unnecessary NULL check removal in cls_matchall, from Jiri Pirko. This is definitely brown paper bag territory... Please pull, thanks a lot! The following changes since commit 8b4822de59d5d9919b9b045183a36c673ce20b73: Merge tag 'md/4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md (2017-05-18 12:04:41 -0700) 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 2d76b2f8b54abd16225cd80afca36ed43f113c41: net: sched: cls_matchall: fix null pointer dereference (2017-05-22 14:54:16 -0400) Alexey Khoroshilov (1): net: atheros: atl2: don't return zero on failure path in atl2_probe() David S. Miller (3): Merge git://git.kernel.org/.../pablo/nf Merge branch 'arp-always-override-existing-neigh-entries-with-gratuitous-ARP' net: Make IP alignment calulations clearer. Eric Dumazet (1): ipv6: fix out of bound writes in __ip6_append_data() Eric Leblond (1): netfilter: synproxy: fix conntrackd interaction Gao Feng (1): ebtables: arpreply: Add the standard target sanity check Ihar Hrachyshka (4): arp: fixed error in a comment arp: decompose is_garp logic into a separate function arp: postpone addr_type calculation to as late as possible arp: always override existing neigh entries with gratuitous ARP Jarod Wilson (2): bonding: fix accounting of active ports in 3ad bonding: fix randomly populated arp target array Jiri Pirko (1): net: sched: cls_matchall: fix null pointer dereference Julian Anastasov (1): ipvs: SNAT packet replies only for NATed connections Liping Zhang (4): netfilter: don't setup nat info for confirmed ct netfilter: introduce nf_conntrack_helper_put helper function netfilter: nfnl_cthelper: reject del request if helper obj is in use netfilter: nf_tables: can't assume lock is acquired when dumping set elems Matthias Kaehlcke (1): netfilter: ctnetlink: Make some parameters integer to avoid enum mismatch Nisar Sayed (1): smsc95xx: Support only IPv4 TCP/UDP csum offload Pablo Neira Ayuso (3): Merge tag 'ipvs-fixes-for-v4.12' of http://git.kernel.org/.../horms/ipvs netfilter: nf_tables: missing sanitization in data from userspace netfilter: nf_tables: revisit chain/object refcounting from elements WANG Cong (1): vsock: use new wait API for vsock_stream_sendmsg() Wei Wang (1): tcp: initialize rcv_mss to TCP_MIN_MSS instead of 0 Willem de Bruijn (2): netfilter: xtables: zero padding in data_to_user netfilter: xtables: fix build failure from COMPAT_XT_ALIGN outside CONFIG_COMPAT Xin Long (1): bridge: start hello_timer when enabling KERNEL_STP in br_stp_start drivers/net/bonding/bond_3ad.c | 2 +- drivers/net/bonding/bond_main.c | 5 ++-- drivers/net/ethernet/atheros/atlx/atl2.c| 8 +++--- drivers/net/usb/smsc95xx.c | 13 ++--- include/linux/netfilter/x_tables.h | 2 +- include/linux/netfilter_bridge/ebtables.h | 5 include/net/netfilter/nf_conntrack_helper.h | 4 +++ include/net/netfilter/nf_tables.h | 2 +- kernel/bpf/verifier.c | 12 ++--- net/bridge/br_stp_if.c | 1 + net/bridge/br_stp_timer.c | 2 +- net/bridge/netfilter/ebt_arpreply.c | 3 +++ net/bridge/netfilter/ebtables.c | 9 --- net/ipv4/arp.c | 56 +++ net/ipv4/tcp.c | 4 +++ net/ipv6/ip6_output.c | 15 ++- net/netfilter/ipvs/ip_vs_core.c | 19 ++ net/netfilter/nf_conntrack_helper.c | 12 +
[GIT] Networking
1) Don't allow negative TCP reordering values, from Soheil Hassas Yeganeh. 2) Don't overflow while parsing ipv6 header options, from Craig Gallek. 3) Handle more cleanly the case where an individual route entry during a dump will not fit into the allocated netlink SKB, from David Ahern. 4) Add missing CONFIG_INET dependency for mlx5e, from Arnd Bergmann. 5) Allow neighbour updates to converge more quickly via gratuitous ARPs, from Ihar Hrachyshka. 6) Fix compile error from CONFIG_INET is disabled, from Eric Dumazet. 7) Fix use after free in x25 protocol init, from Lin Zhang. 8) Valid VLAN pvid ranges passed into br_validate(), from Tobias Jungel. 9) NULL out address lists in child sockets in SCTP, this is similar to the fix we made for inet connection sockets last week. From Eric Dumazet. 10) Fix NULL deref in mlxsw driver, from Ido Schimmel. Please pull, thanks a lot! The following changes since commit a95cfad947d5f40cfbf9ad3019575aac1d8ac7a6: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2017-05-15 15:50:49 -0700) 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 c0e01eac7ada785fdeaea1ae5476ec1cf3b00374: mlxsw: spectrum: Avoid possible NULL pointer dereference (2017-05-18 11:27:21 -0400) Arkadi Sharshevsky (2): mlxsw: spectrum_dpipe: Fix incorrect entry index mlxsw: spectrum_router: Fix rif counter freeing routine Arnd Bergmann (1): mlx5e: add CONFIG_INET dependency Bjørn Mork (1): qmi_wwan: add another Lenovo EM74xx device ID Christoph Hellwig (1): net/smc: Add warning about remote memory exposure Craig Gallek (1): ipv6: Prevent overrun when parsing v6 header options Daniel Borkmann (1): bpf: adjust verifier heuristics David Ahern (1): net: Improve handling of failures on link and route dumps David S. Miller (3): Merge branch 'bnxt_en-DCBX-fixes' ipv6: Check ip6_find_1stfragopt() return value properly. Merge branch 'mlxsw-fixes' Eric Dumazet (2): net: fix compile error in skb_orphan_partial() sctp: do not inherit ipv6_{mc|ac|fl}_list from parent Ganesh Goudar (1): cxgb4: update latest firmware version supported Geert Uytterhoeven (2): sh_eth: Use platform device for printing before register_netdev() sh_eth: Do not print an error message for probe deferral Greentime Hu (1): net: ethernet: faraday: To support device tree usage. Ido Schimmel (1): mlxsw: spectrum: Avoid possible NULL pointer dereference Ihar Hrachyshka (2): arp: honour gratuitous ARP _replies_ neighbour: update neigh timestamps iff update is effective Michael Chan (2): bnxt_en: Call bnxt_dcb_init() after getting firmware DCBX configuration. bnxt_en: Check status of firmware DCBX agent before setting DCB_CAP_DCBX_HOST. Paolo Abeni (1): udp: make *udp*_queue_rcv_skb() functions static Soheil Hassas Yeganeh (1): tcp: eliminate negative reordering in tcp_clean_rtx_queue Thomas Winter (1): ipmr: vrf: Find VIFs using the actual device Tobias Jungel (1): bridge: netlink: check vlan_default_pvid range Ursula Braun (1): smc: switch to usage of IB_PD_UNSAFE_GLOBAL_RKEY Yonghong Song (1): selftests/bpf: fix broken build due to types.h linzhang (1): net: x25: fix one potential use-after-free issue drivers/net/ethernet/broadcom/bnxt/bnxt.c| 3 +-- drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c| 6 -- drivers/net/ethernet/chelsio/cxgb4/t4fw_version.h| 6 +++--- drivers/net/ethernet/faraday/ftmac100.c | 7 +++ drivers/net/ethernet/mellanox/mlx5/core/Kconfig | 2 +- drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c | 3 ++- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c| 3 +++ drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c | 6 ++ drivers/net/ethernet/renesas/sh_eth.c| 3 ++- drivers/net/usb/qmi_wwan.c | 2 ++ include/net/x25.h| 4 ++-- kernel/bpf/verifier.c| 12 +++- net/bridge/br_netlink.c | 7 +++ net/core/neighbour.c | 14 ++ net/core/rtnetlink.c | 36 net/core/sock.c | 3 --- net/ipv4/arp.c | 16 ++-- net/ipv4/fib_frontend.c | 15 +++ net/ipv4/fib_trie.c | 26 ++ net/ipv4/ipmr.c | 18 --
[GIT] Networking
1) Track alignment in BPF verifier so that legitimate programs won't be rejected on !CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS architectures. 2) Make tail calls work properly in arm64 BPF JIT, from Deniel Borkmann. 3) Make the configuration and semantics Generic XDP make more sense and don't allow both generic XDP and a driver specific instance to be active at the same time. Also from Daniel. 4) Don't crash on resume in xen-netfront, from Vitaly Kuznetsov. 5) Fix use-after-free in VRF driver, from Gao Feng. 6) Use netdev_alloc_skb_ip_align() to avoid unaligned IP headers in qca_spi driver, from Stefan Wahren. 7) Always run cleanup routines in BPF samples when we get SIGTERM, from Andy Gospodarek. 8) The mdio phy code should bring PHYs out of reset using the shared GPIO lines before invoking bus->reset(). From Florian Fainelli. 9) Some USB descriptor access endian fixes in various drivers from Johan Hovold. 10) Handle PAUSE advertisements properly in mlx5 driver, from Gal Pressman. 11) Fix reversed test in mlx5e_setup_tc(), from Saeed Mahameed. 12) Cure netdev leak in AF_PACKET when using timestamping via control messages. From Douglas Caetano dos Santos. 13) netcp doesn't support HWTSTAMP_FILTER_ALl, reject it. From Miroslav Lichvar. Please pull, thanks a lot! The following changes since commit 56868a460b83c0f93d339256a81064d89aadae8e: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide (2017-05-09 15:56:58 -0700) 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 66f4bc819d71bb600f1c879c9a7161de1cc725f8: Merge branch 'ldmsw-fixes' (2017-05-15 15:36:09 -0400) Andy Gospodarek (1): samples/bpf: run cleanup routines when receiving SIGTERM Bert Kenward (1): sfc: revert changes to NIC revision numbers Chopra, Manish (2): qlcnic: Fix link configuration with autoneg disabled qlcnic: Update version to 5.3.66 Colin Ian King (2): netxen_nic: set rcode to the return status from the call to netxen_issue_cmd ethernet: aquantia: remove redundant checks on error status Daniel Borkmann (3): bpf, arm64: fix faulty emission of map access in tail calls xdp: add flag to enforce driver mode xdp: refine xdp api with regards to generic xdp David S. Miller (14): Merge branch 's390-net-fixes' bpf: Track alignment of register values in the verifier. bpf: Do per-instruction state dumping in verifier when log_level > 1. bpf: Add strict alignment flag for BPF_PROG_LOAD. bpf: Add bpf_verify_program() to the library. bpf: Add verifier test case for alignment. Merge branch 'bpf-pkt-ptr-align' bpf: Provide a linux/types.h override for bpf selftests. Merge branch 'generic-xdp-followups' Merge branch 'qlcnic-fixes' bpf: Remove commented out debugging hack in test_align. bpf: Handle multiple variable additions into packet pointers in verifier. Merge tag 'mlx5-fixes-2017-05-12-V2' of git://git.kernel.org/.../saeed/linux Merge branch 'ldmsw-fixes' Douglas Caetano dos Santos (1): net/packet: fix missing net_device reference release Eric Dumazet (2): netem: fix skb_orphan_partial() net: sched: optimize class dumps Florian Fainelli (1): net: phy: Call bus->reset() after releasing PHYs from reset Gal Pressman (2): net/mlx5e: Use the correct pause values for ethtool advertising net/mlx5e: Fix ethtool pause support and advertise reporting Gao Feng (1): driver: vrf: Fix one possible use-after-free issue Gustavo A. R. Silva (1): net: dsa: mv88e6xxx: add default case to switch Ivan Khoronzhuk (1): net: ethernet: ti: netcp_core: return error while dma channel open issue Johan Hovold (2): net: irda: irda-usb: fix firmware name on big-endian hosts net: ch9200: add missing USB-descriptor endianness conversions Jon Mason (1): mdio: mux: Correct mdio_mux_init error path issues Jon Paul Maloy (1): tipc: make macro tipc_wait_for_cond() smp safe Julia Lawall (1): mdio: mux: fix device_node_continue.cocci warnings Julian Wiedmann (2): s390/qeth: unbreak OSM and OSN support s390/qeth: avoid null pointer dereference on OSN Mahesh Bandewar (1): ipv6: avoid dad-failures for addresses with NODAD Mintz, Yuval (1): qed: Fix uninitialized data in aRFS infrastructure Miroslav Lichvar (1): net: netcp: fix check of requested timestamping filter Neil Horman (1): vmxnet3: ensure that adapter is in proper state during force_close Niklas Cassel (1): net: stmmac: use correct pointer when printing normal descriptor ring Saeed Mahameed (2): net/mlx5e: Fix setup TC ndo net/mlx5e: IPoIB, Only support regular RQ for now Shannon Nelson (1): ldmvsw: stop the
[GIT] Networking
1) Fix multiqueue in stmmac driver on PCI, from Andy Shevchenko. 2) cdc_ncm doesn't actually fully zero out the padding area is allocates on TX, from Jim Baxter. 3) Don't leak map addresses in BPF verifier, from Daniel Borkmann. 4) If we randomize TCP timestamps, we have to do it everywhere including SYN cookies. From Eric Dumazet. 5) Fix "ethtool -S" crash in aquantia driver, from Pavel Belous. 6) Fix allocation size for ntp filter bitmap in bnxt_en driver, from Dan Carpenter. 7) Add missing memory allocation return value check to DSA loop driver, from Christophe Jaillet. 8) Fix XDP leak on driver unload in qed driver, from Suddarsana Reddy Kalluru. 9) Don't inherit MC list from parent inet connection sockets, another syzkaller spotted gem. Fix from Eric Dumazet. Please pull, thanks a lot. The following changes since commit af82455f7dbd9dc20244d80d033721b30d22c065: Merge tag 'char-misc-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc (2017-05-04 19:15:35 -0700) 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 657831ffc38e30092a2d5f03d385d710eb88b09a: dccp/tcp: do not inherit mc_list from parent (2017-05-09 15:17:49 -0400) Andy Shevchenko (4): stmmac: pci: set default number of rx and tx queues stmmac: pci: TX and RX queue priority configuration stmmac: pci: RX queue routing configuration stmmac: pci: split out common_default_data() helper Christophe Jaillet (1): net: dsa: loop: Check for memory allocation failure Dan Carpenter (1): bnxt_en: allocate enough space for ->ntp_fltr_bmap Daniel Borkmann (1): bpf: don't let ldimm64 leak map addresses on unprivileged David S. Miller (5): Merge branch 'stmmac-pci-fix-crash-on-Intel-Galileo-Gen2' Merge tag 'mac80211-for-davem-2017-05-08' of git://git.kernel.org/.../jberg/mac80211 Revert "ipv4: restore rt->fi for reference counting" Merge branch 'mlx4-misc-fixes' Merge branch 'qed-general-fixes' Eric Dumazet (2): tcp: randomize timestamps on syncookies dccp/tcp: do not inherit mc_list from parent Ganesh Goudar (1): cxgb4: avoid disabling FEC by default Geliang Tang (2): net/hippi/rrunner: use memdup_user yam: use memdup_user Grygorii Strashko (1): net: ethernet: ti: cpsw: adjust cpsw fifos depth for fullduplex flow control Hangbin Liu (2): bonding: check nla_put_be32 return value vti: check nla_put_* return value Jack Morgenstein (1): net/mlx4_core: Reduce harmless SRIOV error message to debug level Jim Baxter (1): net: cdc_ncm: Fix TX zero padding Johannes Berg (4): mac80211: properly remove RX_ENC_FLAG_40MHZ nl80211: correctly validate MU-MIMO groups mac80211: fix IBSS presp allocation size cfg80211: fix multi scheduled scan kernel-doc Jon Mason (1): net: mdio-mux: bcm-iproc: call mdiobus_free() in error path Kamal Heib (1): net/mlx4_en: Change the error print to debug print Karim Eshapa (1): drivers: net: wimax: i2400m: i2400m-usb: Use time_after for time comparison Kees Cook (4): bna: Avoid reading past end of buffer bna: ethtool: Avoid reading past end of buffer qlge: Avoid reading past end of buffer DECnet: Use container_of() for embedded struct Luca Coelho (1): mac80211: bail out from prep_connection() if a reconfig is ongoing Mintz, Yuval (3): qed: Fix VF removal sequence qed: Tell QM the number of tasks qede: Split PF/VF ndos. Pavel Belous (1): aquantia: Fix "ethtool -S" crash when adapter down. Rakesh Pandit (1): net: alx: handle pci_alloc_irq_vectors return correctly Ram Amrani (1): qed: Correct doorbell configuration for !4Kb pages Suddarsana Reddy Kalluru (1): qede: Fix XDP memory leak on unload Talat Batheesh (1): net/mlx4_en: Avoid adding steering rules with invalid ring Tobias Klauser (1): bridge: netlink: account for IFLA_BRPORT_{B, M}CAST_FLOOD size and policy Vlad Yasevich (1): vlan: Keep NETIF_F_HW_CSUM similar to other software devices WANG Cong (2): ipv4: restore rt->fi for reference counting ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf Wei Wang (1): tcp: make congestion control optionally skip slow start after idle drivers/net/bonding/bond_netlink.c| 3 ++- drivers/net/dsa/dsa_loop.c| 3 +++ drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 6 -- drivers/net/ethernet/atheros/alx/main.c | 4 ++-- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 3 ++- drivers/net/ethernet/brocade/bna/bfa_ioc.c| 2 +- drivers/net/ethernet/brocade/bna/bnad_ethtool.c | 4 ++-- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
[GIT] Networking
1) The wireless rate info fix from Johannes Berg. 2) When a RAW socket is in hdrincl mode, we need to make sure that the user provided at least a minimally sized ipv4/ipv6 header. Fix from Alexander Potapenko. 3) We must emit IFLA_PHYS_PORT_NAME netlink attributes using nla_put_string() so that it is NULL terminated. 4) Fix a bug in TCP fastopen handling, wherein child sockets erroneously inherit the fastopen_req from the parent, and later can end up derefencing freed memory or doing a double free. From Eric Dumazet. 5) Don't clear out netdev stats at close time in tg3 driver, from YueHaibing. 6) Fix refcount leak in xt_CT, from Gao Feng. 7) In nft_set_bitmap() don't leak dummy elements, from Liping Zhang. 8) Fix deadlock due to taking the expectation lock twice, also from Liping Zhang. 9) Make xt_socket work again with ipv6, from Peter Tirsek. 10) Don't allow IPV6 to be used with IPVS if ipv6.disable=1, from Paolo Abeni. 11) Make the BPF loader more flexible wrt. changes to the bpf MAP entry layout. From Jesper Dangaard Brouer. 12) Fix ethtool reported device name in aquantia driver, from Pavel Belous. 13) Fix build failures due to the compile time size test not working in netfilter conntrack. From Geert Uytterhoeven. Please pull, thanks a lot! The following changes since commit 89c9fea3c8034cdb2fd745f551cde0b507fd6893: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial (2017-05-02 19:09:35 -0700) 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 842be75c77cb72ee546a2b19da9c285fb3ded660: cfg80211: make RATE_INFO_BW_20 the default (2017-05-04 13:15:28 -0400) Alexander Potapenko (1): ipv4, ipv6: ensure raw socket message is big enough to hold an IP header Alexei Starovoitov (1): selftests/bpf: get rid of -D__x86_64__ Colin Ian King (1): net/sched: remove redundant null check on head Dan Carpenter (1): netfilter: x_tables: unlock on error in xt_find_table_lock() Daniel Borkmann (1): xdp: use common helper for netlink extended ack reporting Daniele Palmas (1): net: usb: qmi_wwan: add Telit ME910 support Dave Johnson (1): netfilter: Wrong icmp6 checksum for ICMPV6_TIME_EXCEED in reverse SNATv6 path David Ahern (1): net: ipv6: Do not duplicate DAD on link up David Cai (1): smsc911x: Adding support for Micochip LAN9250 Ethernet controller David S. Miller (4): Merge branch 'sample-bpf-loader-fixes' Merge git://git.kernel.org/.../pablo/nf Merge branch 'ibmvnic-Updated-reset-handler-andcode-fixes' Merge branch 'qed-fixes' Eric Dumazet (1): tcp: do not inherit fastopen_req from parent Gao Feng (1): netfilter: xt_CT: fix refcnt leak on error path Geert Uytterhoeven (2): test_bpf: Use ULL suffix for 64-bit constants netfilter: conntrack: Force inlining of build check to prevent build failure Jarno Rajahalme (1): openvswitch: Delete conntrack entry clashing with an expectation. Jesper Dangaard Brouer (4): samples/bpf: adjust rlimit RLIMIT_MEMLOCK for traceex2, tracex3 and tracex4 samples/bpf: make bpf_load.c code compatible with ELF maps section changes samples/bpf: load_bpf.c make callback fixup more flexible samples/bpf: export map_data[] for more info on maps Johannes Berg (1): cfg80211: make RATE_INFO_BW_20 the default Linus Lüssing (1): bridge: ebtables: fix reception of frames DNAT-ed to bridge device/port Liping Zhang (7): netfilter: nf_ct_helper: permit cthelpers with different names via nfnetlink netfilter: nft_set_bitmap: free dummy elements when destroy the set netfilter: ctnetlink: drop the incorrect cthelper module request netfilter: ctnetlink: fix deadlock due to acquire _expect_lock twice netfilter: ctnetlink: make it safer when updating ct->status netfilter: ctnetlink: acquire ct->lock before operating nf_ct_seqadj netfilter: nft_dynset: continue to next expr if _OP_ADD succeeded Michal Schmidt (1): rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string Nathan Fontenot (10): ibmvnic: Move resource initialization to its own routine ibmvnic: Replace is_closed with state field ibmvnic: Updated reset handling ibmvnic: Delete napi's when releasing driver resources ibmvnic: Whitespace correction in release_rx_pools ibmvnic: Clean up tx pools when closing ibmvnic: Wait for any pending scrqs entries at driver close ibmvnic: Check for driver reset first in ibmvnic_xmit ibmvnic: Continue skb processing after skb completion error ibmvnic: Move queue restarting in ibmvnic_tx_complete Pablo Neira Ayuso (3): Merge tag 'ipvs-fixes-for-v4.11' of http://git.kernel.org/.../horms/ipvs