Messages in this thread | | | Date | Thu, 21 Mar 2013 14:42:18 +0000 | From | Thomas Graf <> | Subject | Re: [PATCH] net: fix *_DIAG_MAX constants |
| |
On 03/21/13 at 06:18pm, Andrey Vagin wrote: > 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@suug.ch> > Cc: "David S. Miller" <davem@davemloft.net> > Cc: Pavel Emelyanov <xemul@parallels.com> > Cc: Eric Dumazet <edumazet@google.com> > Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> > Cc: David Howells <dhowells@redhat.com> > Signed-off-by: Andrey Vagin <avagin@openvz.org>
Acked-by: Thomas Graf <tgraf@suug.ch>
| |