diff options
author | Andrey Vagin <[email protected]> | 2013-03-21 20:33:46 +0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-03-21 12:36:33 -0400 |
commit | ae5fc98728c8bbbd6d7cab0b9781671fc4419c1b (patch) | |
tree | 76c3e90232bf37be0744fcd3d72396112f979815 /net/unix/af_unix.c | |
parent | b37391e68cd8a9cae7d53015627510cc952f4f02 (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 <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: David Howells <[email protected]>
Signed-off-by: Andrey Vagin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions