From: Lendacky, Thomas Date: Wed, 22 Oct 2014 16:26:11 +0000 (-0500) Subject: amd-xgbe: Properly handle feature changes via ethtool X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~44^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=386f1c9650b7fe4849d2942bd42f41f0ca3aedfb;p=pandora-kernel.git amd-xgbe: Properly handle feature changes via ethtool The ndo_set_features callback function was improperly using an unsigned int to save the current feature value for features such as NETIF_F_RXCSUM. Since that feature is in the upper 32 bits of a 64 bit variable the result was always 0 making it not possible to actually turn off the hardware RX checksum support. Change the unsigned int type to the netdev_features_t type in order to properly capture the current value and perform the proper operation. Signed-off-by: Tom Lendacky Signed-off-by: David S. Miller --- Reading git-diff-tree failed