diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2011-09-08 05:14:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-20 21:16:16 +0200 |
commit | 6af29a963cecf426966d56935d60a984bd5594ea (patch) | |
tree | 68b3a9527f89a2fe157516cace7e2644bc3a3500 /drivers/net/greth.h | |
parent | ipv6: fix a possible double free (diff) | |
download | linux-6af29a963cecf426966d56935d60a984bd5594ea.tar.xz linux-6af29a963cecf426966d56935d60a984bd5594ea.zip |
GRETH: RX/TX bytes were never increased
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/greth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/greth.h b/drivers/net/greth.h index 9a0040dee4da..232a622a85b7 100644 --- a/drivers/net/greth.h +++ b/drivers/net/greth.h @@ -103,6 +103,7 @@ struct greth_private { unsigned char *tx_bufs[GRETH_TXBD_NUM]; unsigned char *rx_bufs[GRETH_RXBD_NUM]; + u16 tx_bufs_length[GRETH_TXBD_NUM]; u16 tx_next; u16 tx_last; |