diff options
| author | Eugene Syromiatnikov <[email protected]> | 2024-08-12 06:51:23 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-08-14 02:13:25 +0000 |
| commit | 655111b838cdabdb604f3625a9ff08c5eedb11da (patch) | |
| tree | a0fd92a7c97f472344105ae31dd7ffdbf3fd67c3 /net/ipv4/tcp_input.c | |
| parent | mlxbf_gige: disable RX filters until RX path initialized (diff) | |
| download | kernel-655111b838cdabdb604f3625a9ff08c5eedb11da.tar.gz kernel-655111b838cdabdb604f3625a9ff08c5eedb11da.zip | |
mptcp: correct MPTCP_SUBFLOW_ATTR_SSN_OFFSET reserved size
ssn_offset field is u32 and is placed into the netlink response with
nla_put_u32(), but only 2 bytes are reserved for the attribute payload
in subflow_get_info_size() (even though it makes no difference
in the end, as it is aligned up to 4 bytes). Supply the correct
argument to the relevant nla_total_size() call to make it less
confusing.
Fixes: 5147dfb50832 ("mptcp: allow dumping subflow context to userspace")
Signed-off-by: Eugene Syromiatnikov <[email protected]>
Reviewed-by: Matthieu Baerts (NGI0) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
