diff options
| author | Matthieu Baerts (NGI0) <matttbe@kernel.org> | 2026-02-03 21:41:21 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-02-05 05:45:09 +0300 |
| commit | d7e712b66f9b3da11e7f523228409af6d56237cb (patch) | |
| tree | 1c849df3c4c216660cff0bacc9e66273f3afce0c /tools/testing | |
| parent | 2002286e68c964d25826943d77edcf95cf38d6e1 (diff) | |
| download | linux-d7e712b66f9b3da11e7f523228409af6d56237cb.tar.xz | |
mptcp: pm: align endpoint flags size with the NL specs
The MPTCP Netlink specs describe the 'flags' as a u32 type. Internally,
a u8 type was used.
Using a u8 is currently fine, because only the 5 first bits are used.
But there is also no reason not to be aligns with the specs, and
to stick to a u8. Especially because there is a whole of 3 bytes after
in both mptcp_pm_local and mptcp_pm_addr_entry structures.
Also, setting it to a u32 will allow future flags, just in case.
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20260203-net-next-mptcp-misc-feat-6-20-v1-5-31ec8bfc56d1@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions
