1. 03 May, 2007 1 commit
    • Dan Williams's avatar
      [ARM] 4348/4: iop3xx: Give Linux control over PCI initialization · e90ddd81
      Dan Williams authored
      Currently the iop3xx platform support code assumes that RedBoot is the
      bootloader and has already initialized the ATU.  Linux should handle this
      initialization for three reasons:
      
      1/ The memory map that RedBoot sets up is not optimal (page_to_dma and
      virt_to_phys return different addresses).  The effect of this is that using
      the dma mapping API for the internal bus dma units generates pci bus
      addresses that are incorrect for the internal bus.
      
      2/ Not all iop platforms use RedBoot
      
      3/ If the ATU is already initialized it indicates that the iop is an add-in
      card in another host, it does not own the PCI bus, and should not be
      re-initialized.
      
      Changelog:
      * rather than change nr_controllers to zero, simply do not call
        pci_common_init
      
      Cc: Lennert Buytenhek <kernel@wantstofly.org>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      e90ddd81
  2. 30 Apr, 2007 4 commits
  3. 21 Apr, 2007 5 commits
  4. 20 Apr, 2007 2 commits
  5. 19 Apr, 2007 14 commits
  6. 18 Apr, 2007 3 commits
    • Olaf Kirch's avatar
      [IrDA]: Correctly handling socket error · bfb6709d
      Olaf Kirch authored
      This patch fixes an oops first reported in mid 2006 - see
      http://lkml.org/lkml/2006/8/29/358 The cause of this bug report is that
      when an error is signalled on the socket, irda_recvmsg_stream returns
      without removing a local wait_queue variable from the socket's sk_sleep
      queue. This causes havoc further down the road.
      
      In response to this problem, a patch was made that invoked sock_orphan on
      the socket when receiving a disconnect indication. This is not a good fix,
      as this sets sk_sleep to NULL, causing applications sleeping in recvmsg
      (and other places) to oops.
      
      This is against the latest net-2.6 and should be considered for -stable
      inclusion. 
      Signed-off-by: default avatarOlaf Kirch <olaf.kirch@oracle.com>
      Signed-off-by: default avatarSamuel Ortiz <samuel@sortiz.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      bfb6709d
    • Vlad Yasevich's avatar
      [SCTP]: Do not interleave non-fragments when in partial delivery · d0cf0d99
      Vlad Yasevich authored
      The way partial delivery is currently implemnted, it is possible to
      intereleave a message (either from another steram, or unordered) that
      is not part of partial delivery process.  The only way to this is for
      a message to not be a fragment and be 'in order' or unorderd for a
      given stream.  This will result in bypassing the reassembly/ordering
      queues where things live duing partial delivery, and the
      message will be delivered to the socket in the middle of partial delivery.
      
      This is a two-fold problem, in that:
      1.  the app now must check the stream-id and flags which it may not
      be doing.
      2.  this clearing partial delivery state from the association and results
      in ulp hanging.
      
      This patch is a band-aid over a much bigger problem in that we
      don't do stream interleave.
      Signed-off-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d0cf0d99
    • David S. Miller's avatar
      [IPSEC] af_key: Fix thinko in pfkey_xfrm_policy2msg() · fefaa75e
      David S. Miller authored
      Make sure to actually assign the determined mode to
      rq->sadb_x_ipsecrequest_mode.
      
      Noticed by Joe Perches.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fefaa75e
  7. 17 Apr, 2007 11 commits