[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101210.140146.68123509.davem@davemloft.net>
Date: Fri, 10 Dec 2010 14:01:46 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: pablo@...filter.org
Cc: netfilter-devel@...ts.netfilter.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: ctnetlink loop
From: Pablo Neira Ayuso <pablo@...filter.org>
Date: Thu, 09 Dec 2010 11:56:13 +0100
> netfilter: ctnetlink: fix loop in ctnetlink_get_conntrack()
>
> From: Pablo Neira Ayuso <pablo@...filter.org>
>
> This patch fixes a loop in ctnetlink_get_conntrack() that can be
> triggered if you use the same socket to receive events and to
> perform a GET operation. Under heavy load, netlink_unicast()
> may return -EAGAIN, this error code is reserved in nfnetlink for
> the module load-on-demand. Instead, we return -ENOBUFS which is
> the appropriate error code that has to be propagated to
> user-space.
>
> Reported-by: Holger Eitzenberger <holger@...zenberger.org>
> Signed-off-by: Pablo Neira Ayuso <pablo@...filter.org>
Since Patrick seems to be inactive I have applied this directly
to net-2.6, thanks guys!
--
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