aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2021-11-18 12:34:56 -0800
committerDavid S. Miller <[email protected]>2021-11-19 11:53:02 +0000
commit812ad3d270cb900d156a1542360d81f749dbe040 (patch)
tree4f752faa1681e2c04fab51614ab8d1f492820890 /tools/perf/scripts/python/stackcollapse.py
parentb5d8cf0af167f3ab9f4cfe44918cde01e20a1222 (diff)
ethtool: stats: Use struct_group() to clear all stats at once
In preparation for FORTIFY_SOURCE performing compile-time and run-time field bounds checking for memset(), avoid intentionally writing across neighboring fields. Add struct_group() to mark region of struct stats_reply_data that should be initialized, which can now be done in a single memset() call. Signed-off-by: Kees Cook <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions