aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorShrikrishna Khare <[email protected]>2016-08-19 10:33:42 -0700
committerDavid S. Miller <[email protected]>2016-08-19 22:44:22 -0700
commitff2e7d5d51469e98196f7933c83b781e96517e7c (patch)
treecceeb771f5f82338537ab67b0d6808e3b3c135f7 /lib/mpi/mpi-internal.h
parentc10ac75aeed2d8486a73a316ac3a08f85d140894 (diff)
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 <[email protected]> Signed-off-by: Shrikrishna Khare <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions