From: Dmitry Mishin Date: Mon, 30 Oct 2006 23:14:27 +0000 (-0800) Subject: [NETFILTER]: ip_tables: compat code module refcounting fix X-Git-Tag: v2.6.19-rc5~101^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=920b868ae1dfdac77c5e8c97e7067b23680f043e;p=pandora-kernel.git [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 Acked-by: Vasily Averin Acked-by: Kirill Korotaev Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed