aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSven Eckelmann <[email protected]>2019-03-17 10:50:50 +0100
committerSimon Wunderlich <[email protected]>2019-03-25 10:01:13 +0100
commitc2d8b9a6c17a3848136b3eb31f26d3c5880acd89 (patch)
tree8a35628b86144762f834932707387765817dd785 /tools/perf/scripts/python/export-to-sqlite.py
parentcedb0dbbb2b0811e58c999a0eb57739e29424352 (diff)
batman-adv: Adjust name for batadv_dat_send_data
The send functions in batman-adv are expected to consume the skb when either the data is queued up for the underlying driver or when some precondition failed. batadv_dat_send_data didn't do this and instead created a copy of the skb, modified it and queued the copy up for transmission. The caller has to take care that the skb is handled correctly (for example free'd) when batadv_dat_send_data returns. This unclear behavior already lead to memory leaks in the recent past. Renaming the function to batadv_dat_forward_data should make it easier to identify that the data is forwarded but the skb is not actually send+consumed. Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Simon Wunderlich <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions