aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev_ioctl.c
diff options
context:
space:
mode:
authorDaniel Hsu <[email protected]>2025-03-25 08:10:08 +0000
committerDavid S. Miller <[email protected]>2025-03-26 13:03:59 +0000
commit70facbf978ac90c6da17a3de2a8dd111b06f1bac (patch)
treef1e3ddb8fa713e9a297b33ae9981cae83d94d1f8 /net/core/dev_ioctl.c
parentnet: libwx: fix Tx L4 checksum (diff)
downloadkernel-70facbf978ac90c6da17a3de2a8dd111b06f1bac.tar.gz
kernel-70facbf978ac90c6da17a3de2a8dd111b06f1bac.zip
mctp: Fix incorrect tx flow invalidation condition in mctp-i2c
Previously, the condition for invalidating the tx flow in mctp_i2c_invalidate_tx_flow() checked if `rc` was nonzero. However, this could incorrectly trigger the invalidation even when `rc > 0` was returned as a success status. This patch updates the condition to explicitly check for `rc < 0`, ensuring that only error cases trigger the invalidation. Signed-off-by: Daniel Hsu <[email protected]> Reviewed-by: Jeremy Kerr <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions