[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1269511675.3626.11.camel@edumazet-laptop>
Date: Thu, 25 Mar 2010 11:07:55 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Patrick McHardy <kaber@...sh.net>
Cc: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Netfilter Development Mailinglist
<netfilter-devel@...r.kernel.org>
Subject: Re: [PATCH] xt_hashlimit: dl_seq_stop() fix
Le jeudi 25 mars 2010 à 11:01 +0100, Patrick McHardy a écrit :
> Eric Dumazet wrote:
> > If dl_seq_start() memory allocation fails, we crash later in
> > dl_seq_stop(), trying to kfree(ERR_PTR(-ENOMEM))
>
> Seems pretty counter intuitive to me that ->stop is invoked after
> ->start returned an error.
Yes, I feel your pain :)
At least ->next is not invoked :)
--
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