aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorLeon Yu <[email protected]>2014-06-01 05:37:25 +0000
committerDavid S. Miller <[email protected]>2014-06-03 00:49:45 +0000
commit418c96ac151a16a5094a95d14252c92c1d47ec67 (patch)
treecbe75d2edab13883541e85522ecdec063785b22d /tools/perf/scripts/python/net_dropmonitor.py
parentnet: ec_bhf: Add runtime dependencies (diff)
downloadkernel-418c96ac151a16a5094a95d14252c92c1d47ec67.tar.gz
kernel-418c96ac151a16a5094a95d14252c92c1d47ec67.zip
net: filter: fix possible memory leak in __sk_prepare_filter()
__sk_prepare_filter() was reworked in commit bd4cf0ed3 (net: filter: rework/optimize internal BPF interpreter's instruction set) so that it should have uncharged memory once things went wrong. However that work isn't complete. Error is handled only in __sk_migrate_filter() while memory can still leak in the error path right after sk_chk_filter(). Fixes: bd4cf0ed331a ("net: filter: rework/optimize internal BPF interpreter's instruction set") Signed-off-by: Leon Yu <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Tested-by: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions