aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorJijie Shao <[email protected]>2025-04-10 02:13:24 +0000
committerJakub Kicinski <[email protected]>2025-04-12 03:17:36 +0000
commit4e4ac53335de54bcb9d26842df0998cfd8fcaf90 (patch)
treea2fab5d28e6ff03956823aef74f59c4bc3658b55 /drivers/fpga/tests/fpga-mgr-test.c
parentnet: hibmcge: fix the share of irq statistics among different network ports i... (diff)
downloadkernel-4e4ac53335de54bcb9d26842df0998cfd8fcaf90.tar.gz
kernel-4e4ac53335de54bcb9d26842df0998cfd8fcaf90.zip
net: hibmcge: fix wrong mtu log issue
A dbg log is generated when the driver modifies the MTU, which is expected to trace the change of the MTU. However, the log is recorded after WRITE_ONCE(). At this time, netdev->mtu has been changed to the new value. As a result, netdev->mtu is the same as new_mtu. This patch modifies the log location and records logs before WRITE_ONCE(). Fixes: ff4edac6e9bd ("net: hibmcge: Implement some .ndo functions") 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 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions