Re: [PATCH net-next] mptcp: ADD_ADDRs with echo bit are smaller

2020-10-03 Thread David Miller
From: Matthieu Baerts Date: Sat, 3 Oct 2020 17:36:56 +0200 > The MPTCP ADD_ADDR suboption with echo-flag=1 has no HMAC, the size is > smaller than the one initially sent without echo-flag=1. We then need to > use the correct size everywhere when we need this echo bit. > > Before this patch, the

[PATCH net-next] mptcp: ADD_ADDRs with echo bit are smaller

2020-10-03 Thread Matthieu Baerts
The MPTCP ADD_ADDR suboption with echo-flag=1 has no HMAC, the size is smaller than the one initially sent without echo-flag=1. We then need to use the correct size everywhere when we need this echo bit. Before this patch, the wrong size was reserved but the correct amount of bytes were written (a