[PATCH] mv643xx_eth: Fix a NULL pointer dereference
commit4eaa3cb35b22cccc53846ce2820e244b1fb04f0b
authorPaolo Galtieri <pgaltieri@mvista.com>
Mon, 16 Jan 2006 23:48:58 +0000 (16 16:48 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 17 Jan 2006 12:23:37 +0000 (17 07:23 -0500)
tree65aa1145fbf4eed0700ced76dd9a6e9b6a3dfbb2
parentcb415d30048f0c1f80fd2f5340a982e8c9617d0d
[PATCH] mv643xx_eth: Fix a NULL pointer dereference

Fix a NULL pointer dereference.

Fill in the buf_ptr and byte_cnt fields of pkt_info in
eth_tx_return_desc().

Signed-off-by: Paolo Galtieri <pgaltieri@mvista.com>
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
 mv643xx_eth.c |   51 +++++++++++++++++++++------------------------------
 1 file changed, 21 insertions(+), 30 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/mv643xx_eth.c