Re: [PATCH net] netlink: specs: mptcp: fix port endianness
From: patchwork-bot+netdevbpf
Date: Wed Sep 11 2024 - 23:50:48 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 11 Sep 2024 09:10:02 +0000 you wrote:
> The MPTCP port attribute is in host endianness, but was documented
> as big-endian in the ynl specification.
>
> Below are two examples from net/mptcp/pm_netlink.c showing that the
> attribute is converted to/from host endianness for use with netlink.
>
> Import from netlink:
> addr->port = htons(nla_get_u16(tb[MPTCP_PM_ADDR_ATTR_PORT]))
>
> [...]
Here is the summary with links:
- [net] netlink: specs: mptcp: fix port endianness
https://git.kernel.org/netdev/net/c/09a45a555379
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html