summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@redhat.com>2015-01-22 15:51:20 -0800
committerDavid S. Miller <davem@davemloft.net>2015-01-25 14:47:16 -0800
commita80e89d4c650a7c3ab74f0b2d133cc2ce9738994 (patch)
tree7f97ff5e1bd693e43b61eaf75f238a8fbe96e7ea /tools/perf/scripts/python/syscall-counts.py
parent69fa57b1e42c171599d53486839c3d58f7ed8eec (diff)
fib_trie: Fall back to slen update on inflate/halve failure
This change corrects an issue where if inflate or halve fails we were exiting the resize function without at least updating the slen for the node. To correct this I have moved the update of max_size into the while loop so that it is only decremented on a successful call to either inflate or halve. Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions