diff options
author | Santiago Leon | 2012-09-04 16:41:37 +0200 |
---|---|---|
committer | David S. Miller | 2012-09-05 23:45:23 +0200 |
commit | d90c92fee89ccd75ef2646f3bde0b4c0450666c3 (patch) | |
tree | 60d4c56ed7c1aaccc7743363cd7f8583afe8150b /arch/tile/Makefile | |
parent | tcp: fix possible socket refcount problem for ipv6 (diff) | |
download | kernel-qcow2-linux-d90c92fee89ccd75ef2646f3bde0b4c0450666c3.tar.gz kernel-qcow2-linux-d90c92fee89ccd75ef2646f3bde0b4c0450666c3.tar.xz kernel-qcow2-linux-d90c92fee89ccd75ef2646f3bde0b4c0450666c3.zip |
ibmveth: Fix alignment of rx queue bug
This patch fixes a bug found by Nish Aravamudan
(https://lkml.org/lkml/2012/5/15/220) where the driver is not following
the spec (it is not aligning the rx buffer on a 16-byte boundary) and the
hypervisor aborts the registration, making the device unusable.
The fix follows BenH's recommendation (https://lkml.org/lkml/2012/7/20/461)
to replace the kmalloc+map for a single call to dma_alloc_coherent()
because that function always aligns to a 16-byte boundary.
The stable trees will run into this bug whenever the rx buffer kmalloc call
returns something not aligned on a 16-byte boundary.
Cc: <stable@vger.kernel.org>
Signed-off-by: Santiago Leon <santil@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/tile/Makefile')
0 files changed, 0 insertions, 0 deletions