1. 17 7月, 2007 1 次提交
  2. 12 7月, 2007 1 次提交
  3. 11 7月, 2007 2 次提交
  4. 06 7月, 2007 1 次提交
    • J
      [NETPOLL]: Fixups for 'fix soft lockup when removing module' · 25442caf
      Jarek Poplawski 提交于
      >From my recent patch:
      
      > >    #1
      > >    Until kernel ver. 2.6.21 (including) cancel_rearming_delayed_work()
      > >    required a work function should always (unconditionally) rearm with
      > >    delay > 0 - otherwise it would endlessly loop. This patch replaces
      > >    this function with cancel_delayed_work(). Later kernel versions don't
      > >    require this, so here it's only for uniformity.
      
      But Oleg Nesterov <oleg@tv-sign.ru> found:
      
      > But 2.6.22 doesn't need this change, why it was merged?
      > 
      > In fact, I suspect this change adds a race,
      ...
      
      His description was right (thanks), so this patch reverts #1.
      Signed-off-by: NJarek Poplawski <jarkao2@o2.pl>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      25442caf
  5. 29 6月, 2007 1 次提交
  6. 27 6月, 2007 1 次提交
  7. 09 5月, 2007 1 次提交
  8. 26 4月, 2007 10 次提交
  9. 18 4月, 2007 1 次提交
  10. 11 2月, 2007 1 次提交
  11. 13 12月, 2006 1 次提交
  12. 12 12月, 2006 2 次提交
    • A
      [NETPOLL]: Fix local_bh_enable() warning. · a49f99ff
      Andrew Morton 提交于
      During boot we get:
      
      netconsole: device eth0 not up yet, forcing it
      e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
      WARNING (!__warned) at kernel/softirq.c:137 local_bh_enable()
      
      Call Trace:
       [<ffffffff80235baf>] local_bh_enable+0x41/0xa3
       [<ffffffff8045ab8e>] netpoll_send_skb+0x116/0x144
       [<ffffffff8045b1ee>] netpoll_send_udp+0x263/0x271
       [<ffffffff803d41ec>] write_msg+0x42/0x5e
       [<ffffffff80230c9b>] __call_console_drivers+0x5f/0x70
       [<ffffffff80230d19>] _call_console_drivers+0x6d/0x71
       [<ffffffff802313f0>] release_console_sem+0x148/0x1ec
       [<ffffffff802316ce>] register_console+0x1b1/0x1ba
       [<ffffffff803d4178>] init_netconsole+0x54/0x68
       [<ffffffff802071ae>] init+0x152/0x308
       [<ffffffff804dac8b>] _spin_unlock_irq+0x14/0x30
       [<ffffffff8022c15e>] schedule_tail+0x43/0x9f
       [<ffffffff8020a758>] child_rip+0xa/0x12
      
      Herbert sayeth:
      
        Normally networking isn't invoked with interrupts turned off, but I
        suppose we don't have a choice here.  This is unique being a place where you
        can get called with BH on, off, or IRQs off.
      
        Given that this is only used for printk, the easiest solution is probably
        just to disable local IRQs instead of BH.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a49f99ff
    • A
  13. 09 12月, 2006 1 次提交
    • N
      [NETPOLL]: make arp replies through netpoll use mac address of sender · 47bbec02
      Neil Horman 提交于
      Back in 2.4 arp requests that were recevied by netpoll were processed
      in netconsole_receive_skb, where they were responded to using the src
      mac of the request sender.  In the 2.6 kernel arp_reply is responsible
      for this function, but instead of using the src mac address of the
      incomming request, the stored mac address that was registered for the
      netconsole application is used.  While this is usually ok, it can lead
      to failures in netpoll in some situations (specifically situations
      where a network may have two gateways, as arp requests from one may be
      responded to using the mac address of the other).  This patch reverts
      the behavior to what we had in 2.4, in which all arp requests are sent
      back using the src address of the request sender.
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      Acked-by: NChris Lalancette <clalance@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      47bbec02
  14. 03 12月, 2006 13 次提交
  15. 22 11月, 2006 1 次提交
  16. 08 11月, 2006 1 次提交
  17. 20 10月, 2006 1 次提交