aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Skripkin <[email protected]>2021-07-27 19:35:30 +0300
committerDavid S. Miller <[email protected]>2021-07-27 20:58:30 +0100
commit8ca34a13f7f9b3fa2c464160ffe8cc1a72088204 (patch)
tree910fea2d2e63460ec1301fd4b5058d6c354b5901 /tools/perf/scripts/python/export-to-postgresql.py
parent2f21be447bf0eed63a5c8999a6c449b37e2c6180 (diff)
net: cipso: fix warnings in netlbl_cipsov4_add_std
Syzbot reported warning in netlbl_cipsov4_add(). The problem was in too big doi_def->map.std->lvl.local_size passed to kcalloc(). Since this value comes from userpace there is no need to warn if value is not correct. The same problem may occur with other kcalloc() calls in this function, so, I've added __GFP_NOWARN flag to all kcalloc() calls there. Reported-and-tested-by: [email protected] Fixes: 96cb8e3313c7 ("[NetLabel]: CIPSOv4 and Unlabeled packet integration") Acked-by: Paul Moore <[email protected]> Signed-off-by: Pavel Skripkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions