Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.25.2 /drivers/net/s2io.c

Filename:/drivers/net/s2io.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.6.25-git20  2.6.25-git19  2.6.25.1  2.6.25-git18  2.6.25-git17  2.6.25-git16 
(Following) 2.6.25.3  2.6.25.4  2.6.25.5  2.6.25.6  2.6.25.7  2.6.25.8 

Location
[  2.6.25.2
  [  drivers
    [  net
       o  s2io.c

Patch

diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index c082cf0..de11039 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -84,7 +84,7 @@
 #include "s2io.h"
 #include "s2io-regs.h"
 
-#define DRV_VERSION "2.0.26.20"
+#define DRV_VERSION "2.0.26.22"
 
 /* S2io Driver name & version. */
 static char s2io_driver_name[] = "Neterion";
@@ -2339,7 +2339,7 @@ static void free_tx_buffers(struct s2io_nic *nic)
    for (i = 0; i < config->tx_fifo_num; i++) {
       unsigned long flags;
       spin_lock_irqsave(&mac_control->fifos[i].tx_lock, flags);
-      for (j = 0; j < config->tx_cfg[i].fifo_len - 1; j++) {
+      for (j = 0; j < config->tx_cfg[i].fifo_len; j++) {
          txdp = (struct TxD *) \
          mac_control->fifos[i].list_info[j].list_virt_addr;
          skb = s2io_txdl_getskb(&mac_control->fifos[i], txdp, j);


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.