diff options
| author | Jiawen Wu <jiawenwu@trustnetic.com> | 2026-04-29 11:37:42 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-01 04:07:21 +0300 |
| commit | 694de316f607fe2473d52ca0707e3918e72c1562 (patch) | |
| tree | 62fdd39989494e9050c1071391c62db3b2b27afc /include/linux/timerqueue.h | |
| parent | 26ebd12e67bfc3543d77ce586c33ef29fcafab20 (diff) | |
| download | linux-694de316f607fe2473d52ca0707e3918e72c1562.tar.xz | |
net: libwx: fix VF illegal register access
Register WX_CFG_PORT_ST is a PF restricted register. When a VF is
initialized, attempting to read this register triggers an illegal
register access, which lead to a system hang.
When the device is VF, the bus function ID can be obtained directly from
the PCI_FUNC(pdev->devfn).
Fixes: a04ea57aae37 ("net: libwx: fix device bus LAN ID")
Cc: stable@vger.kernel.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/4D1F4452D21DE107+20260429083743.88961-1-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
