summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorShrikrishna Khare <skhare@vmware.com>2016-08-19 20:33:42 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-20 08:44:22 +0300
commitff2e7d5d51469e98196f7933c83b781e96517e7c (patch)
treecceeb771f5f82338537ab67b0d6808e3b3c135f7 /drivers/acpi
parentc10ac75aeed2d8486a73a316ac3a08f85d140894 (diff)
downloadlinux-ff2e7d5d51469e98196f7933c83b781e96517e7c.tar.xz
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/acpi')
0 files changed, 0 insertions, 0 deletions