aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSven Eckelmann <[email protected]>2018-10-30 22:01:27 +0100
committerSimon Wunderlich <[email protected]>2018-11-12 10:41:51 +0100
commit24d71b92321ab994585c816ede8c12857985d924 (patch)
treed0cc99eea5440061552b0ac83bad12688412553e /tools/perf/scripts/python
parentb00d0e6a2cb143ccc2b75a930f0d5a46033ea7aa (diff)
batman-adv: Add inconsistent claim netlink dump detection
The netlink dump functionality transfers a large number of entries from the kernel to userspace. It is rather likely that the transfer has to interrupted and later continued. During that time, it can happen that either new entries are added or removed. The userspace could than either receive some entries multiple times or miss entries. Commit 670dc2833d14 ("netlink: advertise incomplete dumps") introduced a mechanism to inform userspace about this problem. Userspace can then decide whether it is necessary or not to retry dumping the information again. The netlink dump functions have to be switched to exclusive locks to avoid changes while the current message is prepared. The already existing generation sequence counter from the hash helper can be used for this simple hash. Reported-by: Matthias Schiffer <[email protected]> Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Simon Wunderlich <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions