diff options
author | Anton Blanchard <anton@samba.org> | 2014-08-22 11:36:52 +1000 |
---|---|---|
committer | Zefan Li <lizefan@huawei.com> | 2014-09-25 11:49:09 +0800 |
commit | 9220628427bc4e3fae475a150648b758f06ddfae (patch) | |
tree | 7ab1d53b29d01ab12c9dbee59e655fc78ce94e68 /README | |
parent | c27d3b507ecfb78ce9d3ce9a02c0297a32001548 (diff) |
ibmveth: Fix endian issues with rx_no_buffer statistic
commit cbd5228199d8be45d895d9d0cc2b8ce53835fc21 upstream.
Hidden away in the last 8 bytes of the buffer_list page is a solitary
statistic. It needs to be byte swapped or else ethtool -S will
produce numbers that terrify the user.
Since we do this in multiple places, create a helper function with a
comment explaining what is going on.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions