[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070312082312.GB14831@infradead.org>
Date: Mon, 12 Mar 2007 08:23:12 +0000
From: Christoph Hellwig <hch@...radead.org>
To: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Cc: David Miller <davem@...emloft.net>,
Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH 04/18][SK_BUFF]: Introduce skb_reset_network_header(skb)
On Mon, Mar 12, 2007 at 01:26:52AM -0300, Arnaldo Carvalho de Melo wrote:
> For the common, open coded 'skb->nh.raw = skb->data' operation, so that we
> can
> later turn skb->nh.raw into a offset, reducing the size of struct sk_buff in
> 64bit land while possibly keeping it as a pointer on 32bit.
>
> This one touches just the most simple case, next will handle the slightly
> more
> "complex" cases.
I don't like the naming. Either it should skb_reset_nh to match the field
name (with a good kdoc comment explaning what nh means), or the field
name should be network_header aswell. In general I'd prefer the shorter
names.
But besides the naming issue this looks like a very nice way to go down.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists