Skip to content

Commit 72f6a45

Browse files
Xiayu Zhangdavem330
Xiayu Zhang
authored andcommitted
Fix Comment of ETH_P_802_3_MIN
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 553217c commit 72f6a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/uapi/linux/if_ether.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
#define ETH_P_IFE 0xED3E /* ForCES inter-FE LFB type */
118118
#define ETH_P_AF_IUCV 0xFBFB /* IBM af_iucv [ NOT AN OFFICIALLY REGISTERED ID ] */
119119

120-
#define ETH_P_802_3_MIN 0x0600 /* If the value in the ethernet type is less than this value
120+
#define ETH_P_802_3_MIN 0x0600 /* If the value in the ethernet type is more than this value
121121
* then the frame is Ethernet II. Else it is 802.3 */
122122

123123
/*

0 commit comments

Comments
 (0)