diff options
author | Nicolas Dichtel <[email protected]> | 2013-11-28 18:31:05 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-11-28 18:16:43 -0500 |
commit | 31e20bad8d5871c6f8673c28ea26ab7a0e520086 (patch) | |
tree | ef6bcbdf299368ce10c909aeff6302588f17f656 /lib/memory-notifier-error-inject.c | |
parent | 2c7a9dc1641664173211c4ebc5db510a08684c46 (diff) |
diag: warn about missing first netlink attribute
The first netlink attribute (value 0) must always be defined as none/unspec.
This is correctly done in inet_diag.h, but other diag interfaces are wrong.
Because we cannot change an existing API, I add a comment to point the mistake
and avoid to propagate it in a new diag API in the future.
CC: Thomas Graf <[email protected]>
Signed-off-by: Nicolas Dichtel <[email protected]>
Acked-by: Thomas Graf <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions