[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111018.235539.636455324005288300.davem@davemloft.net>
Date: Tue, 18 Oct 2011 23:55:39 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: fbl@...hat.com
Cc: gaofeng@...fujitsu.com, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH v2] netconsole: enable netconsole can make net_device
refcnt incorrent
From: Flavio Leitner <fbl@...hat.com>
Date: Wed, 12 Oct 2011 10:23:44 -0300
> On Wed, 12 Oct 2011 10:08:11 +0800
> Gao feng <gaofeng@...fujitsu.com> wrote:
>
>> There is no check if netconsole is enabled current.
>> so when exec echo 1 > enabled;
>> the reference of net_device will increment always.
>>
>> Signed-off-by: Gao feng <gaofeng@...fujitsu.com>
>> ---
>> drivers/net/netconsole.c | 5 +++++
>> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> Looks better, thanks!
> Acked-by: Flavio Leitner <fbl@...hat.com>
Applied, thanks everyone.
--
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