aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorHannes Frederic Sowa <[email protected]>2013-09-21 16:56:10 +0200
committerDavid S. Miller <[email protected]>2013-09-27 17:32:17 -0400
commit0a67d3efa4e3223452c96d8c962d7c077ef80ff3 (patch)
tree7a6690e9cf93deb539b25dd006f11e555c3ae3a6 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 (diff)
ipv6: compare sernum when walking fib for /proc/net/ipv6_route as safety net
This patch provides an additional safety net against NULL pointer dereferences while walking the fib trie for the new /proc/net/ipv6_route walkers. I never needed it myself and am unsure if it is needed at all, but the same checks where introduced in 2bec5a369ee79576a3eea2c23863325089785a2c ("ipv6: fib: fix crash when changing large fib while dumping it") to fix NULL pointer bugs. This patch is separated from the first patch to make it easier to revert if we are sure we can drop this logic. Cc: Ben Greear <[email protected]> Cc: Patrick McHardy <[email protected]> Cc: YOSHIFUJI Hideaki <[email protected]> Signed-off-by: Hannes Frederic Sowa <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions