1. 03 7月, 2006 1 次提交
  2. 23 6月, 2006 1 次提交
    • H
      [NET]: Avoid allocating skb in skb_pad · 5b057c6b
      Herbert Xu 提交于
      First of all it is unnecessary to allocate a new skb in skb_pad since
      the existing one is not shared.  More importantly, our hard_start_xmit
      interface does not allow a new skb to be allocated since that breaks
      requeueing.
      
      This patch uses pskb_expand_head to expand the existing skb and linearize
      it if needed.  Actually, someone should sift through every instance of
      skb_pad on a non-linear skb as they do not fit the reasons why this was
      originally created.
      
      Incidentally, this fixes a minor bug when the skb is cloned (tcpdump,
      TCP, etc.).  As it is skb_pad will simply write over a cloned skb.  Because
      of the position of the write it is unlikely to cause problems but still
      it's best if we don't do it.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5b057c6b
  3. 26 3月, 2006 1 次提交
    • B
      [PATCH] amiga: fix driver_register() return handling, remove zorro_module_init() · 33d8675e
      Bjorn Helgaas 提交于
      Remove the assumption that driver_register() returns the number of devices
      bound to the driver.  In fact, it returns zero for success or a negative
      error value.
      
      zorro_module_init() used the device count to automatically unregister and
      unload drivers that found no devices.  That might have worked at one time,
      but has been broken for some time because zorro_register_driver() returned
      either a negative error or a positive count (never zero).  So it could only
      unregister on failure, when it's not needed anyway.
      
      This functionality could be resurrected in individual drivers by counting
      devices in their .probe() methods.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      33d8675e
  4. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4