1. 22 11月, 2009 2 次提交
  2. 21 11月, 2009 11 次提交
  3. 20 11月, 2009 1 次提交
  4. 18 11月, 2009 2 次提交
  5. 17 11月, 2009 4 次提交
  6. 16 11月, 2009 4 次提交
  7. 14 11月, 2009 6 次提交
    • R
      r8169: Fix receive buffer length when MTU is between 1515 and 1536 · 8812304c
      Raimonds Cicans 提交于
      In r8169 driver MTU is used to calculate receive buffer size.
      Receive buffer size is used to configure hardware incoming packet filter.
      
      For jumbo frames:
      Receive buffer size = Max frame size = MTU + 14 (ethernet header) + 4
      (vlan header) + 4 (ethernet checksum) = MTU + 22
      
      Bug:
      driver for all MTU up to 1536 use receive buffer size 1536
      
      As you can see from formula, this mean all IP packets > 1536 - 22
      (for vlan tagged, 1536 - 18 for not tagged) are dropped by hardware
      filter.
      
      Example:
      
      host_good>  ifconfig eth0 mtu 1536
      host_r8169> ifconfig eth0 mtu 1536
      host_good>  ping host_r8169
      Ok
      host_good>  ping -s 1500 host_r8169
      Fail
      host_good>  ifconfig eth0 mtu 7000
      host_r8169> ifconfig eth0 mtu 7000
      host_good>  ping -s 1500 host_r8169
      Ok
      
      Bonus: got rid of magic number 8
      Signed-off-by: NRaimonds Cicans <ray@apollo.lv>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8812304c
    • W
      can: add the missing netlink get_xstats_size callback · 55369c0a
      Wolfgang Grandegger 提交于
      This patch adds the missing "get_xstats_size" callback for the
      netlink interface, which is required if "fill_xstats" is used,
      as pointed out by Patrick McHardy.
      Signed-off-by: NWolfgang Grandegger <wg@grandegger.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      55369c0a
    • O
      can: Fix driver Kconfig structure · b93cf3f0
      Oliver Hartkopp 提交于
      In 2.6.32-rc the new EMS USB CAN driver was contributed and added the Kconfig
      entry right behind an entry of the same *vendor*. This teared the SJA1000
      based driver selection into pieces.
      
      This fix cleans up the 2.6.32-rc Kconfig files for the CAN drivers and moves
      the SJA1000 and USB Kconfig portions into the belonging directories.
      
      As there are many new CAN drivers in the queue getting this cleanup into
      2.6.32-rc would massively reduce the problems for the upcoming drivers.
      
      Thanks,
      Oliver
      Signed-off-by: NOliver Hartkopp <oliver@hartkopp.net>
      Signed-off-by: NWolfgang Grandegger <wg@grandegger.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b93cf3f0
    • B
      s2io: fixing a ethtool test that is broken · b8a623bf
      Breno Leitao 提交于
      Due commit 4b77b0a2, it is not more
      possible to pci_restore_state() more than once without calling
      pci_save_state() in the middle.
      
      Actually running a ethtool test on s2io makes the card inactive,
      and it needs to unload/reload the module to fix.
      
      This patch just save the state just after it restore in order to
      keep the old behaviour
      Signed-off-by: NBreno Leitao <leitao@linux.vnet.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b8a623bf
    • L
      p54usb: Remove DMA buffer from stack · 21d6c270
      Larry Finger 提交于
      On 2.6.32-rc6 from wireless-testing, the following warning is emitted:
      
      ------------[ cut here ]------------
      WARNING: at lib/dma-debug.c:860 check_for_stack+0xaa/0xe0()
      Hardware name: HP Pavilion dv2700 Notebook PC
      ehci_hcd 0000:00:02.1: DMA-API: device driver maps memory fromstack
      	 [addr=ffff8800b6e2bca8]
      Modules linked in: <Removed>
      Pid: 16378, comm: modprobe Not tainted 2.6.32-rc6-wl #244
      Call Trace:
       [<ffffffff81049698>] warn_slowpath_common+0x78/0xb0
       [<ffffffff8104972c>] warn_slowpath_fmt+0x3c/0x40
       [<ffffffff811ae52a>] check_for_stack+0xaa/0xe0
       [<ffffffff811afc8d>] debug_dma_map_page+0xfd/0x170
       [<ffffffffa006297a>] usb_hcd_submit_urb+0x3da/0x9c0 [usbcore]
       [<ffffffff81076e6f>] ? lockdep_init_map+0x5f/0x5d0
       [<ffffffffa0063365>] usb_submit_urb+0xe5/0x260 [usbcore]
       [<ffffffffa0064b7e>] usb_start_wait_urb+0x5e/0xf0 [usbcore]
       [<ffffffffa0063943>] ? usb_init_urb+0x23/0x40 [usbcore]
       [<ffffffffa0064cd4>] usb_bulk_msg+0xc4/0x150 [usbcore]
       [<ffffffffa0441a91>] T.719+0x31/0x40 [p54usb]
       [<ffffffffa0441acf>] p54u_upload_firmware_3887+0x2f/0x490 [p54usb]
       [<ffffffffa049c667>] ? p54_parse_firmware+0x427/0x450 [p54common]
       <Rest of traceback removed>
      ---[ end trace f77df0316ddad3de ]---
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Cc: Stable <stable@vger.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      21d6c270
    • J
      Revert "libipw: initiate cfg80211 API conversion" · 8cc3174e
      John W. Linville 提交于
      This reverts commit b8ecd988.
      
      Due to poor API call balancing by me, this commit not only broke ipw2200
      if it can't find it's firmware, it broke ipw2100 basically anytime you
      removed the module.  At this point in the cycle, let's just put it back
      to a sane state and try again next time...
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8cc3174e
  8. 11 11月, 2009 9 次提交
  9. 08 11月, 2009 1 次提交