diff options
| author | Geliang Tang <geliangtang@gmail.com> | 2020-12-10 02:51:18 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-12-10 06:02:15 +0300 |
| commit | 6eb3d1e350d1d166e6210a2abc310dbee5f03247 (patch) | |
| tree | 8689e4da35064c05e70fe8e14c6da5fd03f1faad /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | dc528d5bcc2daa00940e034bb9922b65b52b5e60 (diff) | |
| download | linux-6eb3d1e350d1d166e6210a2abc310dbee5f03247.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
