summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest.c
diff options
context:
space:
mode:
authorVladyslav Tarasiuk <vladyslavt@mellanox.com>2020-03-24 12:57:08 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-25 00:25:11 +0100
commit9d648fb560e16d8973b081f25a8cc1b38c8393de (patch)
tree47f4f37960a0d70ea69666b71d4dbc0096fb9603 /lib/locking-selftest.c
parentnet: phy: mdio-mux-bcm-iproc: use readl_poll_timeout() to simplify code (diff)
downloadlinux-9d648fb560e16d8973b081f25a8cc1b38c8393de.tar.xz
linux-9d648fb560e16d8973b081f25a8cc1b38c8393de.zip
ethtool: fix incorrect tx-checksumming settings reporting
Currently, ethtool feature mask for checksum command is ORed with NETIF_F_FCOE_CRC_BIT, which is bit's position number, instead of the actual feature bit - NETIF_F_FCOE_CRC. The invalid bitmask here might affect unrelated features when toggling TX checksumming. For example, TX checksumming is always mistakenly reported as enabled on the netdevs tested (mlx5, virtio_net). Fixes: f70bb06563ed ("ethtool: update mapping of features to legacy ioctl requests") Signed-off-by: Vladyslav Tarasiuk <vladyslavt@mellanox.com> Reviewed-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions