1. 15 6月, 2008 9 次提交
  2. 12 6月, 2008 18 次提交
  3. 10 6月, 2008 10 次提交
  4. 05 6月, 2008 3 次提交
    • J
      l2tp: Fix possible oops if transmitting or receiving when tunnel goes down · 24b95685
      James Chapman 提交于
      Some problems have been experienced in the field which cause an oops
      in the pppol2tp driver if L2TP tunnels fail while passing data.
      
      The pppol2tp driver uses private data that is referenced via the
      sk->sk_user_data of its UDP and PPPoL2TP sockets. This patch makes
      sure that the driver uses sock_hold() when it holds a reference to the
      sk pointer. This affects its sendmsg(), recvmsg(), getname(),
      [gs]etsockopt() and ioctl() handlers.
      
      Tested by ISP where problem was seen. System has been up 10 days with
      no oops since running this patch. Without the patch, an oops would
      occur every 1-2 days.
      
      Signed-off-by: James Chapman <jchapman@katalix.com> 
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      24b95685
    • J
      lt2p: Fix possible WARN_ON from socket code when UDP socket is closed · 199f7d24
      James Chapman 提交于
      If an L2TP daemon closes a tunnel socket while packets are queued in
      the tunnel's reorder queue, a kernel warning is logged because the
      socket is closed while skbs are still referencing it. The fix is to
      purge the queue in the socket's release handler.
      
      WARNING: at include/net/sock.h:351 udp_lib_unhash+0x41/0x68()
      Pid: 12998, comm: openl2tpd Not tainted 2.6.25 #8
       [<c0423c58>] warn_on_slowpath+0x41/0x51
       [<c05d33a7>] udp_lib_unhash+0x41/0x68
       [<c059424d>] sk_common_release+0x23/0x90
       [<c05d16be>] udp_lib_close+0x8/0xa
       [<c05d8684>] inet_release+0x42/0x48
       [<c0592599>] sock_release+0x14/0x60
       [<c059299f>] sock_close+0x29/0x30
       [<c046ef52>] __fput+0xad/0x15b
       [<c046f1d9>] fput+0x17/0x19
       [<c046c8c4>] filp_close+0x50/0x5a
       [<c046da06>] sys_close+0x69/0x9f
       [<c04048ce>] syscall_call+0x7/0xb
      Signed-off-by: NJames Chapman <jchapman@katalix.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      199f7d24
    • F
      USB ID for Philips CPWUA054/00 Wireless USB Adapter 11g · 4546002c
      Felix Homann 提交于
      Enable the Philips CPWUA054/00 in p54usb.
      
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4546002c