[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.01.1010020157010.26371@obet.zrqbmnf.qr>
Date: Sat, 2 Oct 2010 01:57:16 +0200 (CEST)
From: Jan Engelhardt <jengelh@...ozas.de>
To: Changli Gao <xiaosuo@...il.com>
cc: Patrick McHardy <kaber@...sh.net>,
"David S. Miller" <davem@...emloft.net>,
netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] netfilter: unregister nf hooks, matches and targets in
the reverse order
On Sunday 2010-09-19 07:58, Changli Gao wrote:
>On Thu, Sep 16, 2010 at 1:32 AM, Patrick McHardy <kaber@...sh.net> wrote:
>> Am 02.09.2010 16:15, schrieb Changli Gao:
>>> Since we register nf hooks, matches and targets in order, we'd better
>>> unregister them in the reverse order.
>>
>> Why? Is there a specific bug you've noticed?
>>
>
>No, there isn't any bug. I just think unregistering them in the
>reverse order is more resonable, like the rollback when failing. And
>the code patched generates less object:
I support this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists