lkml.org 
[lkml]   [2014]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: linux-next: Tree for Apr 1 (netfilter)
From
From: Randy Dunlap <rdunlap@infradead.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.


\
 
 \ /
  Last update: 2014-04-01 22:21    [W:0.138 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site