aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSven Eckelmann <[email protected]>2010-05-07 21:47:07 +0200
committerGreg Kroah-Hartman <[email protected]>2010-05-11 13:42:38 -0700
commitf347b8736f176681fbfc666bf00165125a3274a5 (patch)
tree1aca9e9ddf9b3b32843b2e06815b9f35cd2a04cd /tools/perf/scripts/python
parentadaaa0c6ab89e82684389b80002bce893179cf2c (diff)
Staging: batman-adv: Clone shared bat packets before modifying them
"tcpdump" and "batctl td" will receive packets with a wrong sequence number on systems with a different endianess than network byte order. This happens due to the reordering of bytes in the function which handles aggregated bat packets. The function which receives the bat packets must ensure that these buffers aren't shared with anything else before that function tries to write into it. Otherwise it has to copy the buffers so it is save again to change them. Reported-by: Kevin Steen <[email protected]> Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Marek Lindner <[email protected]> Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions