1. 17 6月, 2011 1 次提交
  2. 16 6月, 2011 6 次提交
  3. 14 6月, 2011 3 次提交
  4. 13 6月, 2011 1 次提交
    • H
      IPVS netns exit causes crash in conntrack · 8f4e0a18
      Hans Schillstrom 提交于
      Quote from Patric Mc Hardy
      "This looks like nfnetlink.c excited and destroyed the nfnl socket, but
      ip_vs was still holding a reference to a conntrack. When the conntrack
      got destroyed it created a ctnetlink event, causing an oops in
      netlink_has_listeners when trying to use the destroyed nfnetlink
      socket."
      
      If nf_conntrack_netlink is loaded before ip_vs this is not a problem.
      
      This patch simply avoids calling ip_vs_conn_drop_conntrack()
      when netns is dying as suggested by Julian.
      Signed-off-by: NHans Schillstrom <hans.schillstrom@ericsson.com>
      Signed-off-by: NSimon Horman <horms@verge.net.au>
      8f4e0a18
  5. 12 6月, 2011 12 次提交
  6. 10 6月, 2011 4 次提交
  7. 09 6月, 2011 6 次提交
  8. 08 6月, 2011 6 次提交
  9. 07 6月, 2011 1 次提交
    • H
      net: cpu offline cause napi stall · 264524d5
      Heiko Carstens 提交于
      Frank Blaschka reported :
      <quote>
        During heavy network load we turn off/on cpus.
        Sometimes this causes a stall on the network device.
        Digging into the dump I found out following:
      
        napi is scheduled but does not run. From the I/O buffers
        and the napi state I see napi/rx_softirq processing has stopped
        because the budget was reached. napi stays in the
        softnet_data poll_list and the rx_softirq was raised again.
      
        I assume at this time the cpu offline comes in,
        the rx softirq is raised/moved to another cpu but napi stays in the
        poll_list of the softnet_data of the now offline cpu.
      
        Reviewing dev_cpu_callback (net/core/dev.c) I did not find the
        poll_list is transfered to the new cpu.
      </quote>
      
      This patch is a straightforward implementation of Frank suggestion :
      
      Transfert poll_list and trigger NET_RX_SOFTIRQ on new cpu.
      Reported-by: NFrank Blaschka <blaschka@linux.vnet.ibm.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Tested-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      264524d5