1. 12 Jun, 2017 20 commits
  2. 08 Jun, 2017 1 commit
  3. 02 Jun, 2017 1 commit
    • Harald Freudenberger's avatar
      s390/zcrypt: Fix blocking queue device after unbind/bind. · e3850508
      Harald Freudenberger authored
      When the association between a queue device and the
      driver is released via unbind and later re-associated
      the queue device was not operational any more. Reason
      was a wrong administration of the card/queue lists
      within the ap device driver.
      
      This patch introduces revised card/queue list handling
      within the ap device driver: when an ap device is
      detected it is initial not added to the card/queue list
      any more. With driver probe the card device is added to
      the card list/the queue device is added to the queue list
      within a card. With driver remove the device is removed
      from the card/queue list. Additionally there are some
      situations within the ap device live where the lists
      need update upon card/queue device release (for example
      device hot unplug or suspend/resume).
      Signed-off-by: default avatarHarald Freudenberger <freude@linux.vnet.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      e3850508
  4. 23 May, 2017 1 commit
  5. 22 May, 2017 1 commit
  6. 17 May, 2017 1 commit
  7. 16 May, 2017 4 commits
  8. 15 May, 2017 11 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · a95cfad9
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       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.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (52 commits)
        ldmvsw: stop the clean timer at beginning of remove
        ldmvsw: unregistering netdev before disable hardware
        net: netcp: fix check of requested timestamping filter
        ipv6: avoid dad-failures for addresses with NODAD
        qed: Fix uninitialized data in aRFS infrastructure
        mdio: mux: fix device_node_continue.cocci warnings
        net/packet: fix missing net_device reference release
        net/mlx4_core: Use min3 to select number of MSI-X vectors
        macvlan: Fix performance issues with vlan tagged packets
        net: stmmac: use correct pointer when printing normal descriptor ring
        net/mlx5: Use underlay QPN from the root name space
        net/mlx5e: IPoIB, Only support regular RQ for now
        net/mlx5e: Fix setup TC ndo
        net/mlx5e: Fix ethtool pause support and advertise reporting
        net/mlx5e: Use the correct pause values for ethtool advertising
        vmxnet3: ensure that adapter is in proper state during force_close
        sfc: revert changes to NIC revision numbers
        net: ch9200: add missing USB-descriptor endianness conversions
        net: irda: irda-usb: fix firmware name on big-endian hosts
        net: dsa: mv88e6xxx: add default case to switch
        ...
      a95cfad9
    • Linus Torvalds's avatar
      Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6 · 1319a285
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "A set of minor cifs fixes"
      
      * 'for-next' of git://git.samba.org/sfrench/cifs-2.6:
        [CIFS] Minor cleanup of xattr query function
        fs: cifs: transport: Use time_after for time comparison
        SMB2: Fix share type handling
        cifs: cifsacl: Use a temporary ops variable to reduce code length
        Don't delay freeing mids when blocked on slow socket write of request
        CIFS: silence lockdep splat in cifs_relock_file()
      1319a285
    • David S. Miller's avatar
      Merge branch 'ldmsw-fixes' · 66f4bc81
      David S. Miller authored
      Shannon Nelson says:
      
      ====================
      ldmvsw: port removal stability
      
      Under heavy reboot stress testing we found a couple of timing issues
      when removing the device that could cause the kernel great heartburn,
      addressed by these two patches.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      66f4bc81
    • Shannon Nelson's avatar
      ldmvsw: stop the clean timer at beginning of remove · 8b671f90
      Shannon Nelson authored
      Stop the clean timer earlier to be sure there's no asynchronous
      interference while stopping the port.
      
      Orabug: 25748241
      Signed-off-by: default avatarShannon Nelson <shannon.nelson@oracle.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8b671f90
    • Thomas Tai's avatar
      ldmvsw: unregistering netdev before disable hardware · b18e5e86
      Thomas Tai authored
      When running LDom binding/unbinding test, kernel may panic
      in ldmvsw_open(). It is more likely that because we're removing
      the ldc connection before unregistering the netdev in vsw_port_remove(),
      we set up a window of time where one process could be removing the
      device while another trying to UP the device. This also sometimes causes
      vio handshake error due to opening a device without closing it completely.
      We should unregister the netdev before we disable the "hardware".
      
      Orabug: 25980913, 25925306
      Signed-off-by: default avatarThomas Tai <thomas.tai@oracle.com>
      Signed-off-by: default avatarShannon Nelson <shannon.nelson@oracle.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b18e5e86
    • Miroslav Lichvar's avatar
      net: netcp: fix check of requested timestamping filter · ca9df7ed
      Miroslav Lichvar authored
      The driver doesn't support timestamping of all received packets and
      should return error when trying to enable the HWTSTAMP_FILTER_ALL
      filter.
      
      Cc: WingMan Kwok <w-kwok2@ti.com>
      Cc: Richard Cochran <richardcochran@gmail.com>
      Signed-off-by: default avatarMiroslav Lichvar <mlichvar@redhat.com>
      Acked-by: default avatarRichard Cochran <richardcochran@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ca9df7ed
    • David S. Miller's avatar
      Merge tag 'mlx5-fixes-2017-05-12-V2' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · 42a928ce
      David S. Miller authored
      Saeed Mahameed says:
      
      ====================
      Mellanox, mlx5 fixes 2017-05-12
      
      This series contains some mlx5 fixes for net.
      Please pull and let me know if there's any problem.
      
      For -stable:
      ("net/mlx5e: Fix ethtool pause support and advertise reporting") kernels >= 4.8
      ("net/mlx5e: Use the correct pause values for ethtool advertising") kernels >= 4.8
      
      v1->v2:
       Dropped statistics spinlock patch, it needs some extra work.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      42a928ce
    • Mahesh Bandewar's avatar
      ipv6: avoid dad-failures for addresses with NODAD · 66eb9f86
      Mahesh Bandewar authored
      Every address gets added with TENTATIVE flag even for the addresses with
      IFA_F_NODAD flag and dad-work is scheduled for them. During this DAD process
      we realize it's an address with NODAD and complete the process without
      sending any probe. However the TENTATIVE flags stays on the
      address for sometime enough to cause misinterpretation when we receive a NS.
      While processing NS, if the address has TENTATIVE flag, we mark it DADFAILED
      and endup with an address that was originally configured as NODAD with
      DADFAILED.
      
      We can't avoid scheduling dad_work for addresses with NODAD but we can
      avoid adding TENTATIVE flag to avoid this racy situation.
      Signed-off-by: default avatarMahesh Bandewar <maheshb@google.com>
      Acked-by: default avatarDavid Ahern <dsahern@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      66eb9f86
    • Mintz, Yuval's avatar
      qed: Fix uninitialized data in aRFS infrastructure · aa4ad88c
      Mintz, Yuval authored
      Current memset is using incorrect type of variable, causing the
      upper-half of the strucutre to be left uninitialized and causing:
      
        ethernet/qlogic/qed/qed_init_fw_funcs.c: In function 'qed_set_rfs_mode_disable':
        ethernet/qlogic/qed/qed_init_fw_funcs.c:993:3: error: '*((void *)&ramline+4)' is used uninitialized in this function [-Werror=uninitialized]
      
      Fixes: d51e4af5 ("qed: aRFS infrastructure support")
      Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarYuval Mintz <Yuval.Mintz@cavium.com>
      Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      aa4ad88c
    • Julia Lawall's avatar
      mdio: mux: fix device_node_continue.cocci warnings · 8c977f5a
      Julia Lawall authored
      Device node iterators put the previous value of the index variable, so an
      explicit put causes a double put.
      
      In particular, of_mdiobus_register can fail before doing anything
      interesting, so one could view it as a no-op from the reference count
      point of view.
      
      Generated by: scripts/coccinelle/iterators/device_node_continue.cocci
      
      CC: Jon Mason <jon.mason@broadcom.com>
      Signed-off-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
      Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8c977f5a
    • Douglas Caetano dos Santos's avatar
      net/packet: fix missing net_device reference release · d19b183c
      Douglas Caetano dos Santos authored
      When using a TX ring buffer, if an error occurs processing a control
      message (e.g. invalid message), the net_device reference is not
      released.
      
      Fixes c14ac945 ("sock: enable timestamping using control messages")
      Signed-off-by: default avatarDouglas Caetano dos Santos <douglascs@taghos.com.br>
      Acked-by: default avatarSoheil Hassas Yeganeh <soheil@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d19b183c