1. 14 Nov, 2017 2 commits
  2. 13 Nov, 2017 29 commits
  3. 12 Nov, 2017 1 commit
  4. 11 Nov, 2017 8 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · b3954568
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       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.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net:
        vlan: fix a use-after-free in vlan_device_event()
        net: dsa: return after vlan prepare phase
        net: dsa: return after mdb prepare phase
        can: ifi: Fix transmitter delay calculation
        tcp: fix tcp_fastretrans_alert warning
        tcp: gso: avoid refcount_t warning from tcp_gso_segment()
        can: peak: Add support for new PCIe/M2 CAN FD interfaces
        can: sun4i: handle overrun in RX FIFO
        can: c_can: don't indicate triple sampling support for D_CAN
        net/mlx5e: Increase Striding RQ minimum size limit to 4 multi-packet WQEs
        net/mlx5e: Set page to null in case dma mapping fails
        net/mlx5e: Fix napi poll with zero budget
        net/mlx5: Cancel health poll before sending panic teardown command
        net/mlx5: Loop over temp list to release delay events
        rds: ib: Fix NULL pointer dereference in debug code
      b3954568
    • David S. Miller's avatar
      Merge tag 'wireless-drivers-next-for-davem-2017-11-11' of... · 7c5556de
      David S. Miller authored
      Merge tag 'wireless-drivers-next-for-davem-2017-11-11' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
      
      Kalle Valo says:
      
      ====================
      wireless-drivers-next patches for 4.15
      
      Last minute patches before the merge window. Not really anything
      special standing out, mostly fixes or cleanup and some minor new
      features.
      
      Major changes:
      
      iwlwifi
      
      * some new PCI IDs
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7c5556de
    • Mat Martineau's avatar
      net: Remove unused skb_shared_info member · 39b17521
      Mat Martineau authored
      ip6_frag_id was only used by UFO, which has been removed.
      ipv6_proxy_select_ident() only existed to set ip6_frag_id and has no
      in-tree callers.
      Signed-off-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      39b17521
    • David S. Miller's avatar
      Merge branch 'l2tp-avoid-aliasing-tunnels-socket-pointer' · 973573c4
      David S. Miller authored
      Guillaume Nault says:
      
      ====================
      l2tp: avoid aliasing tunnels socket pointer
      
      We don't need to copy the tunnel's socket pointer in the pseudo-wire
      specific session structures. This uselessly complicates the code
      and hampers evolution.
      
      This series was part of an effort to protect tunnels socket pointer
      with RCU. But since it provides nice cleanup, I submit it separately.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      973573c4
    • Guillaume Nault's avatar
      l2tp: remove the .tunnel_sock field from struct pppol2tp_session · da9ca825
      Guillaume Nault authored
      The last user of .tunnel_sock is pppol2tp_connect() which defensively
      uses it to verify internal data consistency.
      
      This check isn't necessary: l2tp_session_get() guarantees that the
      returned session belongs to the tunnel passed as parameter. And
      .tunnel_sock is never updated, so checking that it still points to
      the parent tunnel socket is useless; that test can never fail.
      Signed-off-by: default avatarGuillaume Nault <g.nault@alphalink.fr>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      da9ca825
    • Guillaume Nault's avatar
      l2tp: avoid using ->tunnel_sock for getting session's parent tunnel · 7198c77a
      Guillaume Nault authored
      Sessions don't need to use l2tp_sock_to_tunnel(xxx->tunnel_sock) for
      accessing their parent tunnel. They have the .tunnel field in the
      l2tp_session structure for that. Furthermore, in all these cases, the
      session is registered, so we're guaranteed that .tunnel isn't NULL and
      that the session properly holds a reference on the tunnel.
      Signed-off-by: default avatarGuillaume Nault <g.nault@alphalink.fr>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7198c77a
    • Guillaume Nault's avatar
      l2tp: remove .tunnel_sock from struct l2tp_eth · 8fdfd659
      Guillaume Nault authored
      This field has never been used.
      Signed-off-by: default avatarGuillaume Nault <g.nault@alphalink.fr>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8fdfd659
    • David S. Miller's avatar
      Merge branch 'dsa-b53-Turn-on-Broadcom-tags' · 93f7ea74
      David S. Miller authored
      Florian Fainelli says:
      
      ====================
      net: dsa: b53: Turn on Broadcom tags
      
      This was long overdue, with this patch series, the b53 driver now
      turns on Broadcom tags except for 5325 and 5365 which use an older
      format that we do not support yet (TBD).
      
      First patch is necessary in order for bgmac, used on BCM5301X and Northstar
      Plus to work correctly and successfully send ARP packets back to the requsester.
      
      Second patch is actually a bug fix, but because net/master and net-next/master
      diverge in that area, I am targeting net-next/master here.
      
      Finally, the last patch enables Broadcom tags after checking that the CPU port
      selected is either, 5, 7 or 8, since those are the only valid combinations
      given currently supported HW.
      
      Changes in v3:
      
      - guarded padding with netdev_uses_dsa() to let the non-DSA use cases
        not have a performance hit for smaller packets
      
      - added missing select NET_DSA_TAG_BRCM to drivers/net/dsa/b53/Kconfig
      
      Changes in v2:
      
      - moved a hunk between patch 2 and patch 3 to avoid a bisectability issue
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      93f7ea74