]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f838008cc32a8dfc511f5945b56b86a242aa318
tree037a896cab8614b4b3ba2c3305d0d48f24642385
parent08db663a770ba99110a5f6261e458483911f5711
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