Messages in this thread | | | Subject | Re: [PATCH net] net: hsr: fix mac_len checks | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 24 May 2021 21:30:10 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Mon, 24 May 2021 13:50:54 -0500 you wrote: > Commit 2e9f60932a2c ("net: hsr: check skb can contain struct hsr_ethhdr > in fill_frame_info") added the following which resulted in -EINVAL > always being returned: > if (skb->mac_len < sizeof(struct hsr_ethhdr)) > return -EINVAL; > > mac_len was not being set correctly so this check completely broke > HSR/PRP since it was always 14, not 20. > > [...]
Here is the summary with links: - [net] net: hsr: fix mac_len checks https://git.kernel.org/netdev/net/c/48b491a5cc74
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |