Skip to contentSkip to conversation

uml: UML net driver does not allow for vlans

PATCH New Alan Cox 1 participant 1 message May 6, 2009 User-mode Linux (UML)

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 uml: UML net driver does not allow for vlans

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

and BUG #7854

---

 arch/um/include/shared/net_user.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/um/include/shared/net_user.h +1 -1
index 63bee15..3dabbe1 100644
@@ -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)