diff options
author | 2018-09-28 20:23:18 +0200 | |
---|---|---|
committer | 2018-09-29 11:24:22 -0700 | |
commit | 5cbdbd1a1f30a083aada44595ca42952fc31e866 (patch) | |
tree | 504887bd2f99020985c48601406fa1807f39b67e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | tcp: up initial rmem to 128KB and SYN rwin to around 64KB (diff) | |
download | linux-dev-5cbdbd1a1f30a083aada44595ca42952fc31e866.tar.xz linux-dev-5cbdbd1a1f30a083aada44595ca42952fc31e866.zip |
tipc: refactor function tipc_msg_reverse()
The function tipc_msg_reverse() is reversing the header of a message
while reusing the original buffer. We have seen at several occasions
that this may have unfortunate side effects when the buffer to be
reversed is a clone.
In one of the following commits we will again need to reverse cloned
buffers, so this is the right time to permanently eliminate this
problem. In this commit we let the said function always consume the
original buffer and replace it with a new one when applicable.
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.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