Patchwork [2.6] fix LL_MAX_HEADER for CONFIG_TR_MODULE

login
register
mail settings
Submitter Adrian Bunk
Date April 27, 2009, 9:32 a.m.
Message ID <20090427093207.GB9259@localhost.pp.htv.fi>
Download mbox | patch
Permalink /patch/26493/
State Accepted
Delegated to: David Miller
Headers show

Comments

Adrian Bunk - April 27, 2009, 9:32 a.m.
Unless I miss anything this should fix a bug.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - April 27, 2009, 9:36 a.m.
From: Adrian Bunk <bunk@kernel.org>
Date: Mon, 27 Apr 2009 12:32:07 +0300

> Unless I miss anything this should fix a bug.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Good catch, applied, thanks Adrian.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 2e7783f..453be9a 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -104,7 +104,7 @@  struct wireless_dev;
 # else
 #  define LL_MAX_HEADER 96
 # endif
-#elif defined(CONFIG_TR)
+#elif defined(CONFIG_TR) || defined(CONFIG_TR_MODULE)
 # define LL_MAX_HEADER 48
 #else
 # define LL_MAX_HEADER 32