All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix VLAN support for ns83820
@ 2004-01-07  8:39 Stephan von Krawczynski
  0 siblings, 0 replies; only message in thread
From: Stephan von Krawczynski @ 2004-01-07  8:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: Marcelo Tosatti

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
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-07  8:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-07  8:39 [PATCH] fix VLAN support for ns83820 Stephan von Krawczynski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.