[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5062AD12.2000303@cn.fujitsu.com>
Date: Wed, 26 Sep 2012 15:21:54 +0800
From: Gao feng <gaofeng@...fujitsu.com>
To: Steffen Klassert <steffen.klassert@...unet.com>
CC: davem@...emloft.net, netfilter-devel@...r.kernel.org,
linux-rdma@...r.kernel.org, netdev@...r.kernel.org,
eric.dumazet@...il.com, pablo@...filter.org,
linux-crypto@...r.kernel.org, jengelh@...i.de,
stephen.hemminger@...tta.com,
Herbert Xu <herbert@...dor.apana.org.au>
Subject: Re: [PATCH 08/11] crypto: pass crypto_user module to netlink_dump_start
于 2012年09月26日 13:49, Steffen Klassert 写道:
> On Wed, Sep 26, 2012 at 12:52:17PM +0800, Gao feng wrote:
>> use proper netlink_dump_control.done and .module to avoid panic.
>>
>> Signed-off-by: Gao feng <gaofeng@...fujitsu.com>
>> Cc: Herbert Xu <herbert@...dor.apana.org.au>
>> ---
>> crypto/crypto_user.c | 6 +++++-
>> 1 files changed, 5 insertions(+), 1 deletions(-)
>>
>> diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c
>> index ba2c611..b5cb32b 100644
>> --- a/crypto/crypto_user.c
>> +++ b/crypto/crypto_user.c
>> @@ -249,6 +249,7 @@ out_err:
>>
>> static int crypto_dump_report_done(struct netlink_callback *cb)
>> {
>> + netlink_dump_done(cb);
>> return 0;
>
> It's probaply better to return the return value of netlink_dump_done()
> instead. Right now, netlink_dump_done() returns 0 in any case,
> but this might change over time.
>
Get it, will fix, 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