[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <71f44378-3961-b751-1ae9-f9c4bc4b061a@huawei.com>
Date: Tue, 31 May 2022 14:27:53 +0800
From: "Ziyang Xuan (William)" <william.xuanziyang@...wei.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: <davem@...emloft.net>, <edumazet@...gle.com>, <pabeni@...hat.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<ap420073@...il.com>
Subject: Re: [PATCH net] macsec: fix UAF bug for real_dev
> On Sat, 28 May 2022 17:36:59 +0800 Ziyang Xuan wrote:
>> --- a/drivers/net/macsec.c
>> +++ b/drivers/net/macsec.c
>> @@ -107,6 +107,7 @@ struct pcpu_secy_stats {
>> struct macsec_dev {
>> struct macsec_secy secy;
>> struct net_device *real_dev;
>> + netdevice_tracker dev_tracker;
>
> You need to add kdoc for @dev_tracker.
Yes, it's right. I will give v2 later.
Thank you!
> .
>
Powered by blists - more mailing lists