From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yasuyuki Kozakai Subject: Re: [PATCH]: 1st step to remove skb_linearize() in ip6_tables.c and optimization Date: Thu, 24 Jun 2004 19:35:31 +0900 (JST) Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <200406241035.TAA14716@toshiba.co.jp> References: <200406241012.TAA24555@toshiba.co.jp> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: yasuyuki.kozakai@toshiba.co.jp, kisza@securityaudit.hu, netfilter-devel@lists.netfilter.org, laforge@netfilter.org, usagi-core@linux-ipv6.org Return-path: To: kadlec@blackhole.kfki.hu In-Reply-To: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Jozsef, thank you for your information! I'll change target() in ip6_tables.h like that. ----------------------------------------------------------------- Yasuyuki KOZAKAI @ USAGI Project From: Jozsef Kadlecsik Subject: Re: [PATCH]: 1st step to remove skb_linearize() in ip6_tables.c and optimization Date: Thu, 24 Jun 2004 12:24:15 +0200 (CEST) > On Thu, 24 Jun 2004, Yasuyuki Kozakai wrote: > > > OK, I try to solve this problem... But how same problem was managed when > > removing skb_linearize() from "ip_tables.c" ? Maybe the order of arguments > > of target() were changed ? > > Exactly! > > /* Registration hooks for targets. */ > struct ipt_target > { > [...] > /* Returns verdict. Argument order changed since 2.4, as this > must now handle non-linear skbs, using skb_copy_bits and > skb_ip_make_writable. */ > unsigned int (*target)(struct sk_buff **pskb, > [...] > > Best regards, > Jozsef > - > E-mail : kadlec@blackhole.kfki.hu, kadlec@sunserv.kfki.hu > PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt > Address : KFKI Research Institute for Particle and Nuclear Physics > H-1525 Budapest 114, POB. 49, Hungary > >