Home
last modified time | relevance | path

Searched hist:"6 eb3d1e350d1d166e6210a2abc310dbee5f03247" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/mptcp/
H A Doptions.cdiff 6eb3d1e350d1d166e6210a2abc310dbee5f03247 Wed Dec 09 17:51:18 CST 2020 Geliang Tang <geliangtang@gmail.com> mptcp: unify ADD_ADDR and echo suboptions writing

There are two differences between ADD_ADDR suboption and ADD_ADDR echo
suboption: The length of the former is 8 octets longer than the length
of the latter. The former's echo-flag is 0, and latter's echo-flag is 1.

This patch added two local variables, len and echo, to unify ADD_ADDR
and ADD_ADDR echo suboptions writing.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>