diff options
author | Shrikrishna Khare <skhare@vmware.com> | 2016-08-19 10:33:42 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-19 22:44:22 -0700 |
commit | ff2e7d5d51469e98196f7933c83b781e96517e7c (patch) | |
tree | cceeb771f5f82338537ab67b0d6808e3b3c135f7 /drivers/net/Makefile | |
parent | c10ac75aeed2d8486a73a316ac3a08f85d140894 (diff) | |
download | blackbird-op-linux-ff2e7d5d51469e98196f7933c83b781e96517e7c.tar.gz blackbird-op-linux-ff2e7d5d51469e98196f7933c83b781e96517e7c.zip |
vmxnet3: fix tx data ring copy for variable size
'Commit 3c8b3efc061a ("vmxnet3: allow variable length transmit data ring
buffer")' changed the size of the buffers in the tx data ring from a
fixed size of 128 bytes to a variable size.
However, while copying data to the data ring, vmxnet3_copy_hdr continues
to carry the old code that assumes fixed buffer size of 128. This patch
fixes it by adding correct offset based on the actual data ring buffer
size.
Signed-off-by: Guolin Yang <gyang@vmware.com>
Signed-off-by: Shrikrishna Khare <skhare@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Makefile')
0 files changed, 0 insertions, 0 deletions