From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH v2 net-next 1/4] flow_keys: include thoff into flow_keys for later usage Date: Tue, 19 Mar 2013 08:03:10 -0700 Message-ID: <1363705390.2558.3.camel@edumazet-glaptop> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, davem@davemloft.net, jasowang@redhat.com To: Daniel Borkmann Return-path: Received: from mail-pb0-f49.google.com ([209.85.160.49]:35071 "EHLO mail-pb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756838Ab3CSPDP (ORCPT ); Tue, 19 Mar 2013 11:03:15 -0400 Received: by mail-pb0-f49.google.com with SMTP id xa12so503540pbc.36 for ; Tue, 19 Mar 2013 08:03:14 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 2013-03-19 at 15:34 +0100, Daniel Borkmann wrote: > In skb_flow_dissect(), we perform a dissection of a skbuff. Since we're > doing the work here anyway, also store thoff for a later usage, e.g. in > the BPF filter. Also, by having thoff 16 Bit, we do not need to pack > flow_keys and reorder choke_skb_cb. > > Suggested-by: Eric Dumazet > Signed-off-by: Daniel Borkmann > --- > This patch also needs to go into the net tree, since Eric or Jason will > post a bug fix on top of this one. > > include/net/flow_keys.h | 1 + > net/core/flow_dissector.c | 5 ++++- > 2 files changed, 5 insertions(+), 1 deletion(-) Oh well, you left the choke_skb_cb description in changelog Acked-by: Eric Dumazet