From: Patrick McHardy Date: Fri, 2 Feb 2007 08:40:36 +0000 (-0800) Subject: [NET_SCHED]: act_ipt: fix regression in ipt action X-Git-Tag: v2.6.20~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=239a87c87660d3b97a467a661eec927f0dfa9891;p=pandora-kernel.git [NET_SCHED]: act_ipt: fix regression in ipt action The x_tables patch broke target module autoloading in the ipt action by replacing the ipt_find_target call (which does autoloading) by xt_find_target (which doesn't do autoloading). Additionally xt_find_target may return ERR_PTR values in case of an error, which are not handled. Use xt_request_find_target, which does both autoloading and ERR_PTR handling properly. Also don't forget to drop the target module reference again when xt_check_target fails. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed