1. 24 7月, 2010 14 次提交
  2. 23 7月, 2010 8 次提交
  3. 22 7月, 2010 8 次提交
  4. 21 7月, 2010 8 次提交
  5. 20 7月, 2010 2 次提交
    • H
      bridge: Partially disable netpoll support · 573201f3
      Herbert Xu 提交于
      The new netpoll code in bridging contains use-after-free bugs
      that are non-trivial to fix.
      
      This patch fixes this by removing the code that uses skbs after
      they're freed.
      
      As a consequence, this means that we can no longer call bridge
      from the netpoll path, so this patch also removes the controller
      function in order to disable netpoll.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      
      Thanks,
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      573201f3
    • D
      ipv6: Make IP6CB(skb)->nhoff 16-bit. · e7c38157
      David S. Miller 提交于
      Even with jumbograms I cannot see any way in which we would need
      to records a larger than 65535 valued next-header offset.
      
      The maximum extension header length is (256 << 3) == 2048.
      There are only a handful of extension headers specified which
      we'd even accept (say 5 or 6), therefore the largest next-header
      offset we'd ever have to contend with is something less than
      say 16k.
      
      Therefore make it a u16 instead of a u32.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e7c38157