diff options
author | Geliang Tang <geliangtang@gmail.com> | 2020-12-09 15:51:19 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-12-09 19:02:15 -0800 |
commit | e1ef6832224aa62b36ba98a1a7c183e41962590c (patch) | |
tree | f11e9a6a796b2ad8139fb8b80aba7730bf1119d7 /include/net/mptcp.h | |
parent | 6eb3d1e350d1d166e6210a2abc310dbee5f03247 (diff) | |
download | linux-e1ef6832224aa62b36ba98a1a7c183e41962590c.tar.gz linux-e1ef6832224aa62b36ba98a1a7c183e41962590c.tar.bz2 linux-e1ef6832224aa62b36ba98a1a7c183e41962590c.zip |
mptcp: unify ADD_ADDR and ADD_ADDR6 suboptions writing
The length of ADD_ADDR6 is 12 octets longer than ADD_ADDR. That's the
only difference between them.
This patch dropped the duplicate code between ADD_ADDR and ADD_ADDR6
suboptions writing, and unify them into one.
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>
Diffstat (limited to 'include/net/mptcp.h')
0 files changed, 0 insertions, 0 deletions