diff options
author | Leon Yu <chianglungyu@gmail.com> | 2014-06-01 09:37:25 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-03 04:49:45 +0400 |
commit | 418c96ac151a16a5094a95d14252c92c1d47ec67 (patch) | |
tree | cbe75d2edab13883541e85522ecdec063785b22d /include/linux/via_i2c.h | |
parent | 3aab01d800eb195de3f273d9a195fe070a507d56 (diff) | |
download | linux-418c96ac151a16a5094a95d14252c92c1d47ec67.tar.xz |
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 <chianglungyu@gmail.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Tested-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/via_i2c.h')
0 files changed, 0 insertions, 0 deletions