mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] uml: UML net driver does not allow for vlans
@ 2009-05-06 16:16 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2009-05-06 16:16 UTC (permalink / raw)
  To: jdike, linux-kernel

See ancient discussion at
http://marc.info/?l=user-mode-linux-devel&m=101990155831279&w=2

and BUG #7854

Signed-off-by: Alan Cox <alan@linux.intel.com>
---

 arch/um/include/shared/net_user.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/arch/um/include/shared/net_user.h b/arch/um/include/shared/net_user.h
index 63bee15..3dabbe1 100644
--- a/arch/um/include/shared/net_user.h
+++ b/arch/um/include/shared/net_user.h
@@ -8,7 +8,7 @@
 
 #define ETH_ADDR_LEN (6)
 #define ETH_HEADER_ETHERTAP (16)
-#define ETH_HEADER_OTHER (14)
+#define ETH_HEADER_OTHER (26) /* 14 for ethernet + VLAN + MPLS for crazy people */
 #define ETH_MAX_PACKET (1500)
 
 #define UML_NET_VERSION (4)


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

only message in thread, other threads:[~2009-05-06 15:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-06 16:16 [PATCH] uml: UML net driver does not allow for vlans Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®