[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150228.160047.214686672558902639.davem@davemloft.net>
Date: Sat, 28 Feb 2015 16:00:47 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eyal.birger@...il.com
Cc: willemb@...gle.com, edumazet@...gle.com, shmulik.ladkani@...il.com,
linux-bluetooth@...r.kernel.org, marcel@...tmann.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2 4/7] net: packet: use skb->dev as storage
for skb orig len instead of skb->cb[]
From: Eyal Birger <eyal.birger@...il.com>
Date: Sat, 28 Feb 2015 22:38:04 +0200
> My concern is that any value I pick based on the existing implementations
> would need to be adjusted come a protocol with a larger address length.
Then we need a method that requires protocols to register their
address length in a manner that will allow us to validate that
limit at compile time.
This is not rocket science.
Right now we're proposing to do utterly stupid shit like encoding
integers in device pointers in the sk_buff, when that is absolutely
not necessary at all.
--
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