Return-Path: MIME-Version: 1.0 In-Reply-To: <20150301.003143.1281961486875434872.davem@davemloft.net> References: <20150228.160047.214686672558902639.davem@davemloft.net> <20150301.003143.1281961486875434872.davem@davemloft.net> Date: Sun, 1 Mar 2015 07:35:26 +0200 Message-ID: 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 To: David Miller Cc: Willem de Bruijn , Eric Dumazet , Shmulik Ladkani , linux-bluetooth@vger.kernel.org, Marcel Holtmann , "netdev@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 List-ID: On Sun, Mar 1, 2015 at 7:31 AM, David Miller wrote: > From: Eyal Birger > Date: Sun, 1 Mar 2015 07:09:54 +0200 > >> Ok. Another suggestion I received was to delay the preparation of the full >> sockaddr_ll until it is needed, and store the skb original length in the first >> two fields (sll_protocol and sll_family) as they can be derived later on from >> the skb. >> >> IMHO, It would still be somewhat of a hack though. >> >> Would that approach be considered? > > I think it's better than mangling skb->dev Ok. Will submit a v3.