[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161843460981.4219.5111613632965767089.git-patchwork-notify@kernel.org>
Date: Wed, 14 Apr 2021 21:10:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Claudiu Beznea <claudiu.beznea@...rochip.com>
Cc: nicolas.ferre@...rochip.com, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: macb: fix the restore of cmp registers
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 14 Apr 2021 14:20:29 +0300 you wrote:
> Commit a14d273ba159 ("net: macb: restore cmp registers on resume path")
> introduces the restore of CMP registers on resume path. In case the IP
> doesn't support type 2 screeners (zero on DCFG8 register) the
> struct macb::rx_fs_list::list is not initialized and thus the
> list_for_each_entry(item, &bp->rx_fs_list.list, list) loop introduced in
> commit a14d273ba159 ("net: macb: restore cmp registers on resume path")
> will access an uninitialized list leading to crash. Thus, initialize
> the struct macb::rx_fs_list::list without taking into account if the
> IP supports type 2 screeners or not.
>
> [...]
Here is the summary with links:
- net: macb: fix the restore of cmp registers
https://git.kernel.org/netdev/net/c/a714e27ea8bd
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists