net-next: Fix an overflow bug in vmxnet3 Tx descriptor
authorBhavesh Davda <bhavesh@vmware.com>
Sat, 24 Jul 2010 14:43:29 +0000 (14:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jul 2010 00:06:52 +0000 (17:06 -0700)
commit1f4b16128439b225c2986f06d015c848c290d7d9
tree037a896cab8614b4b3ba2c3305d0d48f24642385
parent690a1f2002a3091bd18a501f46c9530f10481463
net-next: Fix an overflow bug in vmxnet3 Tx descriptor

Fix an overflow bug in vmxnet3 Tx descriptor

This patch fixes a bug where a 16K buffer on a Tx descriptor was overflowing
into the 'gen' bit in the descriptor thereby corrupting the descriptor and
stalling the transmit ring.

Signed-off-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: Matthew Delco <delcoM@vmware.com>
Signed-off-by: Ronghua Zhang <ronghua@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c
drivers/net/vmxnet3/vmxnet3_int.h