Skip to content

Commit

Permalink
Fix Comment of ETH_P_802_3_MIN
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Xiayu Zhang authored and davem330 committed Dec 2, 2021
1 parent 553217c commit 72f6a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/uapi/linux/if_ether.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
#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 */

/*
Expand Down

0 comments on commit 72f6a45

Please sign in to comment.