From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH 1/3][CONNTRACK] Introduce flag facilities to take over TCP connections Date: Tue, 28 Nov 2006 23:23:51 +0100 Message-ID: <456CB6F7.6010909@trash.net> References: <456C6D3C.9060909@netfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Harald Welte , Netfilter Development Mailinglist Return-path: To: Pablo Neira Ayuso In-Reply-To: <456C6D3C.9060909@netfilter.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Pablo Neira Ayuso wrote: > Hi Patrick, > > I reworked the previous patch based on some of your suggestions. Let me > know what you think. We're almost there :) > + /* skip window scale and flags dump if hard tracking is by passed */ minor nitpick: bypassed > + NFA_PUT(skb, CTA_PROTOINFO_TCP_FLAGS_ORIGINAL, sizeof(u_int8_t), > + &ct->proto.tcp.seen[0].flags); > + > + NFA_PUT(skb, CTA_PROTOINFO_TCP_FLAGS_REPLY, sizeof(u_int8_t), > + &ct->proto.tcp.seen[1].flags); The attributes should contain the same data type in both directions, the receive side expects a structure.