[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <639bad93-86a6-a21a-f821-cbaf887da851@virtuozzo.com>
Date: Wed, 8 Nov 2017 07:50:27 +0300
From: Vasily Averin <vvs@...tuozzo.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org, linux-nfs@...r.kernel.org,
Anna Schumaker <anna.schumaker@...app.com>,
Trond Myklebust <trond.myklebust@...marydata.com>,
Jeff Layton <jlayton@...chiereds.net>,
"J. Bruce Fields" <bfields@...ldses.org>
Subject: Re: [PATCH 21/21] sunrpc: exit_net cleanup check added
On 2017-11-08 04:22, Stephen Hemminger wrote:
> On Sun, 5 Nov 2017 13:02:44 +0300
> Vasily Averin <vvs@...tuozzo.com> wrote:
>> + WARN(!list_empty(&sn->all_clients),
>> + "net %p exit: sunrpc all_clients list is not empty\n", net);
>
> Don't print a kernel pointer, this is a security leak.
Yes, you're right, I've submitted fixed patch in v3 already,
but seems will prepare v4 with simple WARN_ON_ONCE(!list_empty())
Powered by blists - more mailing lists