All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>
Cc: shemminger@vyatta.com, netfilter-devel@vger.kernel.org
Subject: Re: [PATCH 8/8] nf_conntrack ipv6: unused code and sparse fix
Date: Tue, 29 Jan 2008 13:54:15 +0100	[thread overview]
Message-ID: <479F21F7.5010409@trash.net> (raw)
In-Reply-To: <200801280250.m0S2oWF1019241@toshiba.co.jp>

Yasuyuki KOZAKAI wrote:
> From: Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>
> Date: Fri, 25 Jan 2008 10:24:10 +0900 (JST)
> 
>> From: Patrick McHardy <kaber@trash.net>
>> Date: Thu, 24 Jan 2008 19:45:42 +0100
>>
>>> Stephen Hemminger wrote:
>>>
>>>  > +#ifdef notused
>>>  >  int nf_ct_frag6_kfree_frags(struct sk_buff *skb)
>>>  > {
>>>  > 	struct sk_buff *s, *s2;
>>>  > @@ -694,6 +696,7 @@ int nf_ct_frag6_kfree_frags(struct sk_bu
>>>  >
>>>  >  	return 0;
>>>  >  }
>>>  > +#endif
>>>
>>> I'm wondering whether this is correct. I'm on the way out the
>>> door though, I'll look into it later. Thanks Stephen.
>> I'll check it, too. At least linux 2.6.15 (which is the first release
>> for nf_contrack) does not use the function. I try to recall the reason.
> 
> I agree to remove the function.
> 
> I seemed to forget to remove it when implementing nf_conntrack based on
> ip6_conntrack. The later used it to free the reassembled skb packet the
> original fragments on fail of tracking. But the function became unnecessary
> as result of changing data structure so that packets could be reassembled
> at new hook - NF_IP6_PRI_CONNTRACK_DEFRAG.


Thanks, I've added the missing include and removed this function.

      parent reply	other threads:[~2008-01-29 13:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24 18:15 [PATCH 0/8] trivial patches to netfilter for net-2.6.25 Stephen Hemminger
2008-01-24 18:15 ` [PATCH 1/8] nf_nat_snmp: sparse warning Stephen Hemminger
2008-01-24 18:32   ` Patrick McHardy
2008-01-24 18:15 ` [PATCH 2/8] netfilter: get rid of " Stephen Hemminger
2008-01-24 18:34   ` Patrick McHardy
2008-01-24 18:15 ` [PATCH 3/8] nf_conntrack: sparse warnings Stephen Hemminger
2008-01-24 18:35   ` Patrick McHardy
2008-01-24 18:15 ` [PATCH 4/8] netfilter: more sparse warning fixes Stephen Hemminger
2008-01-24 18:40   ` Patrick McHardy
2008-01-24 18:15 ` [PATCH 5/8] conntrack: get rid of sparse warnings Stephen Hemminger
2008-01-24 18:42   ` Patrick McHardy
2008-01-24 18:15 ` [PATCH 6/8] nf_conntrack-h323: sparse fixes Stephen Hemminger
2008-01-24 18:44   ` Patrick McHardy
2008-01-24 18:15 ` [PATCH 7/8] netfilter: more spase fixes Stephen Hemminger
2008-01-24 18:43   ` Patrick McHardy
2008-01-24 18:15 ` [PATCH 8/8] nf_conntrack ipv6: unused code and sparse fix Stephen Hemminger
2008-01-24 18:45   ` Patrick McHardy
2008-01-25  1:24     ` Yasuyuki KOZAKAI
2008-01-28  2:50       ` Yasuyuki KOZAKAI
     [not found]       ` <200801280250.m0S2oWF1019241@toshiba.co.jp>
2008-01-29 12:54         ` Patrick McHardy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=479F21F7.5010409@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    --cc=yasuyuki.kozakai@toshiba.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.