lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130321.123713.2259863785549784643.davem@davemloft.net>
Date:	Thu, 21 Mar 2013 12:37:13 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	avagin@...nvz.org
Cc:	linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
	xemul@...allels.com, edumazet@...gle.com,
	paulmck@...ux.vnet.ibm.com, dhowells@...hat.com
Subject: Re: [PATCH 1/3] net: fix *_DIAG_MAX constants

From: Andrey Vagin <avagin@...nvz.org>
Date: Thu, 21 Mar 2013 20:33:46 +0400

> Follow the common pattern and define *_DIAG_MAX like:
> 
>         [...]
>         __XXX_DIAG_MAX,
> };
> 
> Because everyone is used to do:
> 
>         struct nlattr *attrs[XXX_DIAG_MAX+1];
> 
>         nla_parse([...], XXX_DIAG_MAX, [...]
> 
> Reported-by: Thomas Graf <tgraf@...g.ch>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: Pavel Emelyanov <xemul@...allels.com>
> Cc: Eric Dumazet <edumazet@...gle.com>
> Cc: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
> Cc: David Howells <dhowells@...hat.com>
> Signed-off-by: Andrey Vagin <avagin@...nvz.org>

Applied to 'net' and queued up for -stable.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ