diff options
author | Gao Feng <[email protected]> | 2016-08-29 18:25:28 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2016-08-30 11:52:32 +0200 |
commit | 779994fa3636d46848edb402fe7517968e036e6f (patch) | |
tree | 59398c227d211898054545b870b5bf20dcda746f /tools/perf/scripts/python/stat-cpi.py | |
parent | 3cb27991aad74299af2cd55a9c12684f5b0c76c6 (diff) |
netfilter: log: Check param to avoid overflow in nf_log_set
The nf_log_set is an interface function, so it should do the strict sanity
check of parameters. Convert the return value of nf_log_set as int instead
of void. When the pf is invalid, return -EOPNOTSUPP.
Signed-off-by: Gao Feng <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions