1. 06 1月, 2009 3 次提交
  2. 25 12月, 2008 2 次提交
  3. 30 9月, 2008 1 次提交
    • H
      iucv: Fix mismerge again. · 8b122efd
      Heiko Carstens 提交于
      fb65a7c0 ("iucv: Fix bad merging.") fixed
      a merge error, but in a wrong way. We now end up with the bug below.
      This patch corrects the mismerge like it was intended.
      
      BUG: scheduling while atomic: swapper/1/0x00000000
      Modules linked in:
      CPU: 1 Not tainted 2.6.27-rc7-00094-gc0f4d6d4 #9
      Process swapper (pid: 1, task: 000000003fe7d988, ksp: 000000003fe838c0)
      0000000000000000 000000003fe839b8 0000000000000002 0000000000000000
             000000003fe83a58 000000003fe839d0 000000003fe839d0 0000000000390de6
             000000000058acd8 00000000000000d0 000000003fe7dcd8 0000000000000000
             000000000000000c 000000000000000d 0000000000000000 000000003fe83a28
             000000000039c5b8 0000000000015e5e 000000003fe839b8 000000003fe83a00
      Call Trace:
      ([<0000000000015d6a>] show_trace+0xe6/0x134)
       [<0000000000039656>] __schedule_bug+0xa2/0xa8
       [<0000000000391744>] schedule+0x49c/0x910
       [<0000000000391f64>] schedule_timeout+0xc4/0x114
       [<00000000003910d4>] wait_for_common+0xe8/0x1b4
       [<00000000000549ae>] call_usermodehelper_exec+0xa6/0xec
       [<00000000001af7b8>] kobject_uevent_env+0x418/0x438
       [<00000000001d08fc>] bus_add_driver+0x1e4/0x298
       [<00000000001d1ee4>] driver_register+0x90/0x18c
       [<0000000000566848>] netiucv_init+0x168/0x2c8
       [<00000000000120be>] do_one_initcall+0x3e/0x17c
       [<000000000054a31a>] kernel_init+0x1ce/0x248
       [<000000000001a97a>] kernel_thread_starter+0x6/0xc
       [<000000000001a974>] kernel_thread_starter+0x0/0xc
       iucv: NETIUCV driver initialized
      initcall netiucv_init+0x0/0x2c8 returned with preemption imbalance
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8b122efd
  4. 21 7月, 2008 1 次提交
  5. 15 7月, 2008 1 次提交
  6. 14 7月, 2008 1 次提交
  7. 26 6月, 2008 2 次提交
  8. 10 6月, 2008 3 次提交
  9. 24 5月, 2008 1 次提交
  10. 10 4月, 2008 3 次提交
  11. 04 3月, 2008 1 次提交
  12. 08 2月, 2008 3 次提交
  13. 29 1月, 2008 2 次提交
  14. 20 11月, 2007 1 次提交
  15. 01 11月, 2007 1 次提交
  16. 20 10月, 2007 1 次提交
  17. 11 10月, 2007 3 次提交
    • U
      [AF_IUCV]: postpone receival of iucv-packets · f0703c80
      Ursula Braun 提交于
      AF_IUCV socket programs may waste Linux storage, because af_iucv
      allocates an skb whenever posted by the receive callback routine and
      receives the message immediately.
      Message receival is now postponed if data from previous callbacks has
      not yet been transferred to the receiving socket program. Instead a
      message handle is saved in a message queue as a reminder. Once
      messages could be given to the receiving socket program, there is
      an additional checking for entries in the message queue, followed
      by skb allocation and message receival if applicable.
      Signed-off-by: NUrsula Braun <braunu@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f0703c80
    • H
    • E
      [NET]: Make socket creation namespace safe. · 1b8d7ae4
      Eric W. Biederman 提交于
      This patch passes in the namespace a new socket should be created in
      and has the socket code do the appropriate reference counting.  By
      virtue of this all socket create methods are touched.  In addition
      the socket create methods are modified so that they will fail if
      you attempt to create a socket in a non-default network namespace.
      
      Failing if we attempt to create a socket outside of the default
      network namespace ensures that as we incrementally make the network stack
      network namespace aware we will not export functionality that someone
      has not audited and made certain is network namespace safe.
      Allowing us to partially enable network namespaces before all of the
      exotic protocols are supported.
      
      Any protocol layers I have missed will fail to compile because I now
      pass an extra parameter into the socket creation code.
      
      [ Integrated AF_IUCV build fixes from Andrew Morton... -DaveM ]
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1b8d7ae4
  18. 27 7月, 2007 1 次提交
  19. 15 7月, 2007 3 次提交
  20. 10 5月, 2007 1 次提交
    • R
      Add suspend-related notifications for CPU hotplug · 8bb78442
      Rafael J. Wysocki 提交于
      Since nonboot CPUs are now disabled after tasks and devices have been
      frozen and the CPU hotplug infrastructure is used for this purpose, we need
      special CPU hotplug notifications that will help the CPU-hotplug-aware
      subsystems distinguish normal CPU hotplug events from CPU hotplug events
      related to a system-wide suspend or resume operation in progress.  This
      patch introduces such notifications and causes them to be used during
      suspend and resume transitions.  It also changes all of the
      CPU-hotplug-aware subsystems to take these notifications into consideration
      (for now they are handled in the same way as the corresponding "normal"
      ones).
      
      [oleg@tv-sign.ru: cleanups]
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Cc: Gautham R Shenoy <ego@in.ibm.com>
      Cc: Pavel Machek <pavel@ucw.cz>
      Signed-off-by: NOleg Nesterov <oleg@tv-sign.ru>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8bb78442
  21. 06 5月, 2007 1 次提交
  22. 05 5月, 2007 2 次提交
  23. 29 4月, 2007 1 次提交
    • M
      [AF_IUCV/IUCV]: smp_call_function deadlock · 04b090d5
      Martin Schwidefsky 提交于
      Calling smp_call_function can lead to a deadlock if it is called
      from tasklet context. 
      Fixing this deadlock requires to move the smp_call_function from the
      tasklet context to a work queue. To do that queue the path pending
      interrupts to a separate list and move the path cleanup out of
      iucv_path_sever to iucv_path_connect and iucv_path_pending.
      This creates a new requirement for iucv_path_connect: it may not be
      called from tasklet context anymore. 
      Also fixed compile problem for CONFIG_HOTPLUG_CPU=n and
      another one when walking the cpu_online mask. When doing this, 
      we must disable cpu hotplug.
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      04b090d5
  24. 26 4月, 2007 1 次提交