aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_htb.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-02-02 03:40:36 -0500
committerDavid S. Miller <davem@davemloft.net>2007-02-02 03:40:36 -0500
commit239a87c87660d3b97a467a661eec927f0dfa9891 (patch)
tree105c2ef26a16c75ad36cb04a28b6bdeb317c8810 /net/sched/sch_htb.c
parente34efe3b100d0fbdf053128956c3dd0bc68754d6 (diff)
[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 <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_htb.c')
0 files changed, 0 insertions, 0 deletions