diff options
| author | Jijie Shao <[email protected]> | 2025-04-10 02:13:25 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-04-12 03:17:36 +0000 |
| commit | 1d6c3e06232e5f53458842915bbff28e8fc29244 (patch) | |
| tree | e2ff2731ad346b148cc762d8b94e5198be472b82 /net/unix/af_unix.c | |
| parent | net: hibmcge: fix wrong mtu log issue (diff) | |
| download | kernel-1d6c3e06232e5f53458842915bbff28e8fc29244.tar.gz kernel-1d6c3e06232e5f53458842915bbff28e8fc29244.zip | |
net: hibmcge: fix the incorrect np_link fail state issue.
In the debugfs file, the driver displays the np_link fail state
based on the HBG_NIC_STATE_NP_LINK_FAIL.
However, HBG_NIC_STATE_NP_LINK_FAIL is cleared in hbg_service_task()
So, this value of np_link fail is always false.
This patch directly reads the related register to display the real state.
Fixes: e0306637e85d ("net: hibmcge: Add support for mac link exception handling feature")
Signed-off-by: Jijie Shao <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
