summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/if_ether.h
diff options
context:
space:
mode:
authorDavid S. Miller2014-03-15 03:21:04 +0100
committerDavid S. Miller2014-03-15 03:21:04 +0100
commit4c4e4113db249c828fffb286bc95ffb255e081f5 (patch)
treece8994f50bbedb7bf194814d0e491dc0de5d10f7 /include/uapi/linux/if_ether.h
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsh... (diff)
parentbonding: use the correct ether type for alb (diff)
downloadkernel-qcow2-linux-4c4e4113db249c828fffb286bc95ffb255e081f5.tar.gz
kernel-qcow2-linux-4c4e4113db249c828fffb286bc95ffb255e081f5.tar.xz
kernel-qcow2-linux-4c4e4113db249c828fffb286bc95ffb255e081f5.zip
Merge branch 'alb_learning'
Veaceslav Falico says: ==================== bonding: use correct ether type for alb There have been reports that, while using the ETH_P_LOOP ether type (0x0060), the ether type is treated as its packet length. To avoid that and to not break already existing apps - add new ether type ETH_P_LOOPBACK that contains the correct id - 0x9000. ==================== Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Diffstat (limited to 'include/uapi/linux/if_ether.h')
-rw-r--r--include/uapi/linux/if_ether.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h
index 750ba67e0dc3..0f8210b8e0bc 100644
--- a/include/uapi/linux/if_ether.h
+++ b/include/uapi/linux/if_ether.h
@@ -90,6 +90,7 @@
#define ETH_P_TDLS 0x890D /* TDLS */
#define ETH_P_FIP 0x8914 /* FCoE Initialization Protocol */
#define ETH_P_80221 0x8917 /* IEEE 802.21 Media Independent Handover Protocol */
+#define ETH_P_LOOPBACK 0x9000 /* Ethernet loopback packet, per IEEE 802.3 */
#define ETH_P_QINQ1 0x9100 /* deprecated QinQ VLAN [ NOT AN OFFICIALLY REGISTERED ID ] */
#define ETH_P_QINQ2 0x9200 /* deprecated QinQ VLAN [ NOT AN OFFICIALLY REGISTERED ID ] */
#define ETH_P_QINQ3 0x9300 /* deprecated QinQ VLAN [ NOT AN OFFICIALLY REGISTERED ID ] */