1. 31 Jul, 2013 11 commits
    • hayeswang's avatar
      net/usb/r815x: replace USB buffer from stack to DMA-able · b2f47377
      hayeswang authored
      Some USB buffers use stack which may not be DMA-able.
      Use the buffers from kmalloc to replace those one.
      Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b2f47377
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 06693f30
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Fix association failures not triggering a connect-failure event in
          cfg80211, from Johannes Berg.
      
       2) Eliminate a potential NULL deref with older iptables tools when
          configuring xt_socket rules, from Eric Dumazet.
      
       3) Missing RTNL locking in wireless regulatory code, from Johannes
          Berg.
      
       4) Fix OOPS caused by firmware loading races in ath9k_htc, from Alexey
          Khoroshilov.
      
       5) Fix usb URB leak in usb_8dev CAN driver, also from Alexey
          Khoroshilov.
      
       6) VXLAN namespace teardown fails to unregister devices, from Stephen
          Hemminger.
      
       7) Fix multicast settings getting dropped by firmware in qlcnic driver,
          from Sucheta Chakraborty.
      
       8) Add sysctl range enforcement for tcp_syn_retries, from Michal Tesar.
      
       9) Fix a nasty bug in bridging where an active timer would get
          reinitialized with a setup_timer() call.  From Eric Dumazet.
      
      10) Fix use after free in new mlx5 driver, from Dan Carpenter.
      
      11) Fix freed pointer reference in ipv6 multicast routing on namespace
          cleanup, from Hannes Frederic Sowa.
      
      12) Some usbnet drivers report TSO and SG in their feature set, but the
          usbnet layer doesn't really support them.  From Eric Dumazet.
      
      13) Fix crash on EEH errors in tg3 driver, from Gavin Shan.
      
      14) Drop cb_lock when requesting modules in genetlink, from Stanislaw
          Gruszka.
      
      15) Kernel stack leaks in cbq scheduler and af_key pfkey messages, from
          Dan Carpenter.
      
      16) FEC driver erroneously signals NETDEV_TX_BUSY on transmit leading to
          endless loops, from Uwe Kleine-König.
      
      17) Fix hangs from loading mvneta driver, from Arnaud Patard.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (84 commits)
        mlx5: fix error return code in mlx5_alloc_uuars()
        mvneta: Try to fix mvneta when compiled as module
        mvneta: Fix hang when loading the mvneta driver
        atl1c: Fix misuse of netdev_alloc_skb in refilling rx ring
        genetlink: fix usage of NLM_F_EXCL or NLM_F_REPLACE
        af_key: more info leaks in pfkey messages
        net/fec: Don't let ndo_start_xmit return NETDEV_TX_BUSY without link
        net_sched: Fix stack info leak in cbq_dump_wrr().
        igb: fix vlan filtering in promisc mode when not in VT mode
        ixgbe: Fix Tx Hang issue with lldpad on 82598EB
        genetlink: release cb_lock before requesting additional module
        net: fec: workaround stop tx during errata ERR006358
        qlcnic: Fix diagnostic interrupt test for 83xx adapters.
        qlcnic: Fix setting Guest VLAN
        qlcnic: Fix operation type and command type.
        qlcnic: Fix initialization of work function.
        Revert "atl1c: Fix misuse of netdev_alloc_skb in refilling rx ring"
        atl1c: Fix misuse of netdev_alloc_skb in refilling rx ring
        net/tg3: Fix warning from pci_disable_device()
        net/tg3: Fix kernel crash
        ...
      06693f30
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus · 75eaff01
      Linus Torvalds authored
      Pull MIPS fixes from Ralf Baechle:
       - BMIPS SMP fixes
       - a build fix necessary for older compilers
       - two more bugs found my Chandras' testing
       - and one more build fix
      
      * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus:
        MIPS: BMIPS: fix slave CPU booting when physical CPU is not 0
        MIPS: BMIPS: do not change interrupt routing depending on boot CPU
        MIPS: powertv: Fix arguments for free_reserved_area()
        MIPS: Set default CPU type for BCM47XX platforms
        MIPS: uapi/asm/siginfo.h: Fix GCC 4.1.2 compilation
        MIPS: Fix multiple definitions of UNCAC_BASE.
      75eaff01
    • Linus Torvalds's avatar
      Merge tag 'stable/for-linus-3.11-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · f66d95d6
      Linus Torvalds authored
      Pull Xen fixes from Konrad Rzeszutek Wilk:
       - Three fixes for ARM/ARM64 to either compile or not certain generic
         drivers
       - Fix for avoiding a potential deadlock when an user space event
         channel is destroyed.
       - Fix a workqueue resuming multiple times.
      
      * tag 'stable/for-linus-3.11-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/tmem: do not allow XEN_TMEM on ARM64
        xen/evtchn: avoid a deadlock when unbinding an event channel
        xen/arm: enable PV control for ARM
        xen/arm64: Don't compile cpu hotplug
        xenbus: frontend resume cleanup
      f66d95d6
    • Linus Torvalds's avatar
      Merge tag 'xen-arm-3.11-rc2-warn-tag' of... · 878d2cd6
      Linus Torvalds authored
      Merge tag 'xen-arm-3.11-rc2-warn-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/sstabellini/xen
      
      Pull Xen ARM fix from Stefano Stabellini.
      
      Update xen_restart to new calling convention.
      
      * tag 'xen-arm-3.11-rc2-warn-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/sstabellini/xen:
        xen/arm,arm64: update xen_restart after ff701306 and 7b6d864b
      878d2cd6
    • Linus Torvalds's avatar
      Merge tag 'usb-3.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 3132be9a
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some tiny USB fixes for 3.11-rc4
      
        Nothing major, some gadget fixes, some new device ids, a new tiny
        driver for the ANT+ USB device, and a number of fixes for the mos7840
        driver that were much needed"
      
      * tag 'usb-3.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: serial: ftdi_sio: add more RT Systems ftdi devices
        usb: chipidea: fix the build error with randconfig
        usb: chipidea: cast PORTSC_PTS and DEVLC_PTS macros
        usb: gadget: udc-core: fix the typo of udc state attribute
        usb: gadget: f_phonet: remove unused preprocessor conditional
        usb: gadget: multi: fix error return code in cdc_do_config()
        USB: mos7840: fix pointer casts
        USB: mos7840: fix race in led handling
        USB: mos7840: fix device-type detection
        USB: mos7840: fix race in register handling
        USB: serial: add driver for Suunto ANT+ USB device
        usb: gadget: free opts struct on error recovery
        usb: gadget: ether: put_usb_function on unbind
        usb: musb: fix resource passed from glue layer to musb
      3132be9a
    • Linus Torvalds's avatar
      Merge tag 'tty-3.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · a93f66dc
      Linus Torvalds authored
      Pull tty/serial driver fixes from Greg KH:
       "Here are 4 tiny tty and serial driver fixes for 3.11-rc4.
      
        Nothing big, a refcount leak, a module alias fix, and two fixes to the
        mxs-auart serial driver"
      
      * tag 'tty-3.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        serial: arc_uart: Fix module alias
        tty_port: Fix refcounting leak in tty_port_tty_hangup()
        serial/mxs-auart: increase time to wait for transmitter to become idle
        serial/mxs-auart: fix race condition in interrupt handler
      a93f66dc
    • Wei Yongjun's avatar
      mlx5: fix error return code in mlx5_alloc_uuars() · a661b43f
      Wei Yongjun authored
      Fix to return -ENOMEM from the ioremap error handling
      case instead of 0, as done elsewhere in this function.
      Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a661b43f
    • Arnaud Patard \(Rtp\)'s avatar
      mvneta: Try to fix mvneta when compiled as module · 5445eaf3
      Arnaud Patard \(Rtp\) authored
      When the mvneta driver is compiled as module, the clock is disabled before
      it's loading. This will reset the registers values and all configuration
      made by the bootloader.
      
      This patch sets the "sgmii serdes configuration" register to a magical value
      found in:
      https://github.com/yellowback/ubuntu-precise-armadaxp/blob/master/arch/arm/mach-armadaxp/armada_xp_family/ctrlEnv/mvCtrlEnvLib.c
      
      With this change, the interrupts are working/generated and ethernet is
      working.
      Signed-off-by: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5445eaf3
    • Arnaud Patard \(Rtp\)'s avatar
      mvneta: Fix hang when loading the mvneta driver · aded0955
      Arnaud Patard \(Rtp\) authored
      When the mvneta driver is compiled, it'll be loaded with clocks disabled.
      This implies that the clocks should be enabled again before any register
      access or it'll hang.
      
      To fix it:
      - enable clock earlier
      - move timer callback after setting timer.data
      Signed-off-by: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      aded0955
    • Eric Dumazet's avatar
      atl1c: Fix misuse of netdev_alloc_skb in refilling rx ring · 7b701764
      Eric Dumazet authored
      On Mon, 2013-07-29 at 08:30 -0700, Eric Dumazet wrote:
      > On Mon, 2013-07-29 at 13:09 +0100, Luis Henriques wrote:
      >
      > >
      > > I confirm that I can't reproduce the issue using this patch.
      > >
      >
      > Thanks, I'll send a polished patch, as this one had an error if
      > build_skb() returns NULL (in case sk_buff allocation fails)
      
      Please try the following patch : It should use 2K frags instead of 4K
      for normal 1500 mtu
      
      Thanks !
      
      [PATCH] atl1c: use custom skb allocator
      
      We had reports ( https://bugzilla.kernel.org/show_bug.cgi?id=54021 )
      that using high order pages for skb allocations is problematic for atl1c
      
      We do not know exactly what the problem is, but we suspect that crossing
      4K pages is not well supported by this hardware.
      
      Use a custom allocator, using page allocator and 2K fragments for
      optimal stack behavior. We might make this allocator generic
      in future kernels.
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Luis Henriques <luis.henriques@canonical.com>
      Cc: Neil Horman <nhorman@tuxdriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7b701764
  2. 30 Jul, 2013 14 commits
  3. 29 Jul, 2013 14 commits
  4. 28 Jul, 2013 1 commit