diff options
author | 2014-10-22 11:26:11 -0500 | |
---|---|---|
committer | 2014-10-22 17:50:31 -0400 | |
commit | 386f1c9650b7fe4849d2942bd42f41f0ca3aedfb (patch) | |
tree | 433ae2dd5f2b847400a381fb5faf3777d8c62b98 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: fec: ptp: fix NULL pointer dereference if ptp_clock is not set (diff) | |
download | linux-dev-386f1c9650b7fe4849d2942bd42f41f0ca3aedfb.tar.xz linux-dev-386f1c9650b7fe4849d2942bd42f41f0ca3aedfb.zip |
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 <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions