Re: [PATCH] Use hotdrop jump mark.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 2011-01-18 01:36, Richard Weinberger wrote:
>index 5c5b6b9..6f5a49d 100644
>--- a/net/netfilter/xt_connlimit.c
>+++ b/net/netfilter/xt_connlimit.c
>@@ -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.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux