lkml.org 
[lkml]   [2004]   [Jan]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 7 Jan 2004 09:39:04 +0100
FromStephan von Krawczynski <>
Subject[PATCH] fix VLAN support for ns83820
Hello,

attached patch fixes the usual vlan issue with too small buffers in driver ns83820.

Regards,
Stephan

--- linux/drivers/net/ns83820.c-orig    2004-01-07 10:57:23.000000000 +0100
+++ linux/drivers/net/ns83820.c 2004-01-07 10:58:23.000000000 +0100
@@ -141,7 +141,7 @@
 #define NR_TX_DESC     128
 
 /* not tunable */
-#define REAL_RX_BUF_SIZE (RX_BUF_SIZE + 14)    /* rx/tx mac addr + type */
+#define REAL_RX_BUF_SIZE (RX_BUF_SIZE + 14 + 4)        /* rx/tx mac addr + type + vlan */
 
 #define MIN_TX_DESC_FREE       8
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:59    [from the cache]
©2003-2008