From: Thomas Richter Date: Mon, 18 May 2015 12:27:52 +0000 (+0200) Subject: qeth: fix rx checksum offload handling X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~264^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7258d8637be2ac1e4cbf276ac5145da456303d0;p=pandora-kernel.git qeth: fix rx checksum offload handling ethtool is used to change some device driver features such as RX/TX hardware checksum offloading. The qeth device driver callback function to turn on/off RX hardware check sum handling never changes the hardware configuration. The NETIF_F_RXCSUM bit is cleared when the feature bitset type netdev_features_t(64bit) is assigned to 32 a bit variable. This patch fixes the NETIF_F_RXCSUM handling. Also there is no need to manipulate the device's features bit set as this is done by the caller when no error occurs. Signed-off-by: Thomas Richter Signed-off-by: Ursula Braun Signed-off-by: David S. Miller --- Reading git-diff-tree failed