[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131220093927.GA13151@localhost>
Date: Fri, 20 Dec 2013 10:39:27 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Gao feng <gaofeng@...fujitsu.com>
Cc: netfilter-devel@...r.kernel.org, netdev@...r.kernel.org,
lclaudio@...g.org, williams@...hat.com
Subject: Re: [PATCH] nfnetlink_log: unset nf_loggers for net namespace when
unload nfnetlink_log
On Mon, Dec 16, 2013 at 02:59:22PM +0800, Gao feng wrote:
> Steven Rostedt and Arnaldo Carvalho de Melo reported a panic
> when access the files /proc/sys/net/netfilter/nf_log/*.
>
> This problem will occur when we do
> echo nfnetlink_log > /proc/sys/net/netfilter/nf_log/any_file
> ,rmmod nfnetlink_log, and then access the files.
>
> Since the nf_loggers of netns hasn't been unset, it will point
> to the memory that has been freed.
>
> This bug is introduced by commit 9368a53c471b42a1bd99117d590ce2ccdc8dc3c2
> "netfilter: nfnetlink_log: add net namespace support for nfnetlink_log"
Applied, thanks.
--
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