* [PATCH] Fix Comment of ETH_P_802_3_MIN
@ 2021-12-01 2:57 xiayu.zhang
2021-12-02 12:20 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: xiayu.zhang @ 2021-12-01 2:57 UTC (permalink / raw)
To: davem, kuba
Cc: netdev, linux-kernel, haijun.liu, zhaoping.shu, hw.he,
srv_heupstream, Xiayu Zhang
From: Xiayu Zhang <Xiayu.Zhang@mediatek.com>
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>
---
include/uapi/linux/if_ether.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h
index 5da4ee234e0b..c0c2f3ed5729 100644
--- a/include/uapi/linux/if_ether.h
+++ b/include/uapi/linux/if_ether.h
@@ -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 */
/*
--
2.17.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix Comment of ETH_P_802_3_MIN
2021-12-01 2:57 [PATCH] Fix Comment of ETH_P_802_3_MIN xiayu.zhang
@ 2021-12-02 12:20 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-12-02 12:20 UTC (permalink / raw)
To: xiayu.zhang
Cc: davem, kuba, netdev, linux-kernel, haijun.liu, zhaoping.shu,
hw.he, srv_heupstream, Xiayu.Zhang
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:
On Wed, 1 Dec 2021 10:57:13 +0800 you wrote:
> From: Xiayu Zhang <Xiayu.Zhang@mediatek.com>
>
> 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>
>
> [...]
Here is the summary with links:
- Fix Comment of ETH_P_802_3_MIN
https://git.kernel.org/netdev/net/c/72f6a45202f2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-02 12:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 2:57 [PATCH] Fix Comment of ETH_P_802_3_MIN xiayu.zhang
2021-12-02 12:20 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.