mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-08 00:05:24 +00:00
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]))
Export to netlink:
nla_put_u16(skb, MPTCP_PM_ADDR_ATTR_PORT, ntohs(addr->port))
Where addr->port is defined as __be16.
No functional change intended.
Fixes:
|
||
|---|---|---|
| .. | ||
| devlink.yaml | ||
| dpll.yaml | ||
| ethtool.yaml | ||
| fou.yaml | ||
| handshake.yaml | ||
| mptcp_pm.yaml | ||
| netdev.yaml | ||
| nfsd.yaml | ||
| nftables.yaml | ||
| nlctrl.yaml | ||
| ovs_datapath.yaml | ||
| ovs_flow.yaml | ||
| ovs_vport.yaml | ||
| rt_addr.yaml | ||
| rt_link.yaml | ||
| rt_route.yaml | ||
| tc.yaml | ||
| tcp_metrics.yaml | ||
| team.yaml | ||