diff options
author | Dmitry Mishin <dim@openvz.org> | 2006-10-30 15:14:27 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-30 15:24:47 -0800 |
commit | 920b868ae1dfdac77c5e8c97e7067b23680f043e (patch) | |
tree | cec854f186e6ac37ea0b599f34a44fbfe7d49d2c /arch | |
parent | c073e3fa8b7f9841aa6451885f135656d455f511 (diff) | |
download | linux-3.10-920b868ae1dfdac77c5e8c97e7067b23680f043e.tar.gz linux-3.10-920b868ae1dfdac77c5e8c97e7067b23680f043e.tar.bz2 linux-3.10-920b868ae1dfdac77c5e8c97e7067b23680f043e.zip |
[NETFILTER]: ip_tables: compat code module refcounting fix
This patch fixes bug in iptables modules refcounting on compat error way.
As we are getting modules in check_compat_entry_size_and_hooks(), in case of
later error, we should put them all in translate_compat_table(), not in the
compat_copy_entry_from_user() or compat_copy_match_from_user(), as it is now.
Signed-off-by: Dmitry Mishin <dim@openvz.org>
Acked-by: Vasily Averin <vvs@openvz.org>
Acked-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions