diff options
| author | 2026-09-22 16:24:34 -0700 | |
|---|---|---|
| committer | 2026-09-28 17:07:36 -0700 | |
| commit | 1b94a9b462d869bbb466767caa28b197953f2a37 (patch) | |
| tree | f73b115cbd7d29c2dab8481b0e668eb8b81ee457 /scripts/Makefile.thinlto | |
| parent | net: systemport: Fix NULL pointer dereference in bcm_sysport_fini_rx_ring() (diff) | |
net: systemport: Fix Wake-on-LAN RXCHK filter enable loop
In bcm_sysport_suspend_to_wol(), the loop enabling programmed RXCHK
filters in RXCHK_CONTROL used an auxiliary counter 'i' instead of the
actual set filter index 'index'.
When non-contiguous filters were configured (for example, if filter 0
was deleted and filter 1 remained), the code would enable bit
(RXCHK_BRCM_TAG_MATCH_SHIFT + 0) corresponding to filter 0 rather than
filter 1, causing Wake-on-LAN filter matching to fail.
Fix this by using the filter 'index' to set the appropriate match bit
in RXCHK_CONTROL.
Cc: stable+noautosel@kernel.org # never worked
Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260922232440.598918-5-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
