summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAndrey Vagin <avagin@openvz.org>2013-03-21 20:33:46 +0400
committerDavid S. Miller <davem@davemloft.net>2013-03-21 12:36:33 -0400
commitae5fc98728c8bbbd6d7cab0b9781671fc4419c1b (patch)
tree76c3e90232bf37be0744fcd3d72396112f979815 /net
parentb37391e68cd8a9cae7d53015627510cc952f4f02 (diff)
net: fix *_DIAG_MAX constants
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions