[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140401.152203.847120817141929645.davem@davemloft.net>
Date: Tue, 01 Apr 2014 15:22:03 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: rdunlap@...radead.org
Cc: sfr@...b.auug.org.au, linux-next@...r.kernel.org,
linux-kernel@...r.kernel.org, netfilter-devel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: linux-next: Tree for Apr 1 (netfilter)
From: Randy Dunlap <rdunlap@...radead.org>
Date: Tue, 01 Apr 2014 11:34:15 -0700
> on x86_64:
>
> net/netfilter/xt_connlimit.c: In function 'connlimit_mt_check':
> net/netfilter/xt_connlimit.c:380:18: warning: division by zero [-Wdiv-by-zero]
>
> Maybe just use CONNLIMIT_LOCK_SLOTS instead of ARRAY_SIZE(...).
I'd rather see that ARRAY_SIZE() be adjusted to work cleanly for zero
sized array elements.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists