Files
linux/include/uapi/linux
Andrey Vagin e32a0e3e1c net: fix *_DIAG_MAX constants
[ Upstream commit ae5fc98728 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-05 09:26:18 -07:00
..
2012-12-21 20:23:36 +00:00
2012-10-16 18:49:15 -07:00
2012-10-31 14:00:15 -04:00
2012-10-16 13:36:58 -04:00
2012-12-03 15:07:36 -05:00
2012-11-15 10:13:52 +01:00
2012-11-16 10:15:35 -08:00
2013-04-05 09:26:18 -07:00
2012-12-17 17:15:22 -08:00
2012-10-22 15:16:06 -04:00
2013-04-05 09:26:18 -07:00
2012-12-09 00:30:55 -05:00