On Thu, 2007-02-15 at 00:57 +1100, Herbert Xu wrote: > On Wed, Feb 14, 2007 at 03:47:55PM +1100, Rusty Russell wrote: > > > > It's also used to generate dma structs for outgoing packets. In that > > case, skb_headlen() == 0: > > I see, in that case you're guaranteed to have no fragments. > Still it feels a bit weird to have a length field that only > applies to the header part. Indeed. In future if I want to create fragmented skbs for receive (large MTU support), I would actually set skb->len and skb->datalen and then could avoid the extra argument. Cheers, Rusty. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 2/2] lguest preparation: expose futex infrastructure: get_futex_key, get_key_refs and drop_key_refs
- From: Rusty Russell <[email protected]>
- [PATCH 1/8] lguest: Kconfig and headers
- From: Rusty Russell <[email protected]>
- [PATCH 2/8] lguest: the host code (lg.ko).
- From: Rusty Russell <[email protected]>
- [PATCH 3/8] lguest: Guest code
- From: Rusty Russell <[email protected]>
- [PATCH 4/8] lguest: Makefile
- From: Rusty Russell <[email protected]>
- [PATCH 5/8] lguest: trivial guest network driver
- From: Rusty Russell <[email protected]>
- Re: [PATCH 5/8] lguest: trivial guest network driver
- From: Herbert Xu <[email protected]>
- Re: [PATCH 5/8] lguest: trivial guest network driver
- From: Rusty Russell <[email protected]>
- Re: [PATCH 5/8] lguest: trivial guest network driver
- From: Herbert Xu <[email protected]>
- Re: [PATCH 5/8] lguest: trivial guest network driver
- From: Rusty Russell <[email protected]>
- Re: [PATCH 5/8] lguest: trivial guest network driver
- From: Herbert Xu <[email protected]>
- [PATCH 2/2] lguest preparation: expose futex infrastructure: get_futex_key, get_key_refs and drop_key_refs
- Prev by Date: Re: [PATCH] Fix d_path for lazy unmounts
- Next by Date: Re: [perfmon] 2.6.20 new perfmon code base + libpfm + pfmon
- Previous by thread: Re: [PATCH 5/8] lguest: trivial guest network driver
- Next by thread: Re: [PATCH 1/8] lguest: Kconfig and headers
- Index(es):