Use hotdrop jump mark.
Subsystems (2)
PATCH 1/1 Use hotdrop jump mark.
Signed-off-by Richard Weinberger <[email protected]>
--- net/netfilter/xt_connlimit.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
net/netfilter/xt_connlimit.c +1 -2
@@ -206,8 +206,7 @@ connlimit_mt(const struct sk_buff *skb, struct xt_action_param *par)if (connections <0 ) {/* kmalloc failed, drop it entirely */ - par->hotdrop = true; -return false; + goto hotdrop; }return (connections > info->limit) ^ info->inverse;
Signature · 1 line
1.6.6.1
net/netfilter/xt_connlimit.c connlimit_mt(const struct sk_buff *skb, struct xt_action_param *par) · line 212
Quoted 13 lines · Richard Weinberger
index 5c5b6b9..6f5a49d 100644
net/netfilter/xt_connlimit.c +1
-2@@ -206,8 +206,7 @@ connlimit_mt(const struct sk_buff *skb, struct xt_action_param *par)if (connections <0 ) {/* kmalloc failed, drop it entirely */ - par->hotdrop = true; -return false; + goto hotdrop; }return (connections > info->limit) ^ info->inverse;
Taken, thanks.