diff options
author | Geliang Tang <geliang.tang@suse.com> | 2022-01-06 14:06:37 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-07 11:29:45 +0000 |
commit | 110b6d1fe98fd7af9893992459b651594d789293 (patch) | |
tree | 8b71f0a14275956c1a14f7a4c2a8beee888236ea /net/mptcp/protocol.c | |
parent | 04fac2cae9422a3401c172571afbcfdd58fa5c7e (diff) |
mptcp: fix a DSS option writing error
'ptr += 1;' was omitted in the original code.
If the DSS is the last option -- which is what we have most of the
time -- that's not an issue. But it is if we need to send something else
after like a RM_ADDR or an MP_PRIO.
Fixes: 1bff1e43a30e ("mptcp: optimize out option generation")
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/protocol.c')
0 files changed, 0 insertions, 0 deletions