From: Stephan von Krawczynski <skraw@ithnet.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Subject: [PATCH] fix VLAN support for ns83820
Date: Wed, 7 Jan 2004 09:39:04 +0100 [thread overview]
Message-ID: <20040107093904.1b89dc0f.skraw@ithnet.com> (raw)
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
reply other threads:[~2004-01-07 8:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040107093904.1b89dc0f.skraw@ithnet.com \
--to=skraw@ithnet.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome