1. 03 3月, 2009 3 次提交
  2. 02 3月, 2009 17 次提交
  3. 01 3月, 2009 2 次提交
    • I
      tcp: fix retrans_out leaks · 9ec06ff5
      Ilpo Järvinen 提交于
      There's conflicting assumptions in shifting, the caller assumes
      that dupsack results in S'ed skbs (or a part of it) for sure but
      never gave a hint to tcp_sacktag_one when dsack is actually in
      use. Thus DSACK retrans_out -= pcount was not taken and the
      counter became out of sync. Remove obstacle from that information
      flow to get DSACKs accounted in tcp_sacktag_one as expected.
      Signed-off-by: NIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
      Tested-by: NDenys Fedoryshchenko <denys@visp.net.lb>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9ec06ff5
    • H
      netpoll: Add drop checks to all entry points · 4ead4431
      Herbert Xu 提交于
      The netpoll entry checks are required to ensure that we don't
      receive normal packets when invoked via netpoll.  Unfortunately
      it only ever worked for the netif_receive_skb/netif_rx entry
      points.  The VLAN (and subsequently GRO) entry point didn't
      have the check and therefore can trigger all sorts of weird
      problems.
      
      This patch adds the netpoll check to all entry points.
      
      I'm still uneasy with receiving at all under netpoll (which
      apparently is only used by the out-of-tree kdump code).  The
      reason is it is perfectly legal to receive all data including
      headers into highmem if netpoll is off, but if you try to do
      that with netpoll on and someone gets a printk in an IRQ handler                                             
      you're going to get a nice BUG_ON.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4ead4431
  4. 28 2月, 2009 18 次提交