Fix Comment of ETH_P_802_3_MIN
authorXiayu Zhang <Xiayu.Zhang@mediatek.com>
Wed, 1 Dec 2021 02:57:13 +0000 (10:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2021 12:07:04 +0000 (12:07 +0000)
The description of ETH_P_802_3_MIN is misleading.
The value of EthernetType in Ethernet II frame is more than 0x0600,
the value of Length in 802.3 frame is less than 0x0600.

Signed-off-by: Xiayu Zhang <Xiayu.Zhang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_ether.h

index 5da4ee2..c0c2f3e 100644 (file)
 #define ETH_P_IFE      0xED3E          /* ForCES inter-FE LFB type */
 #define ETH_P_AF_IUCV   0xFBFB         /* IBM af_iucv [ NOT AN OFFICIALLY REGISTERED ID ] */
 
-#define ETH_P_802_3_MIN        0x0600          /* If the value in the ethernet type is less than this value
+#define ETH_P_802_3_MIN        0x0600          /* If the value in the ethernet type is more than this value
                                         * then the frame is Ethernet II. Else it is 802.3 */
 
 /*