netlink: clarify attribute length check documentation
authorJohannes Berg <johannes.berg@intel.com>
Thu, 3 Nov 2011 00:10:05 +0000 (00:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2011 21:48:23 +0000 (17:48 -0400)
commit4b6cc7284ddc9a54910f111085ebf0143ef3f5bd
treed2c94d708bed468a0a2843f4d0611435b134306b
parentc30bc94758ae2a38a5eb31767c1985c0aae0950b
netlink: clarify attribute length check documentation

The documentation for how the length of attributes
is checked is wrong ("Exact length" isn't true, the
policy checks are for "minimum length") and a bit
misleading. Make it more complete and explain what
really happens.

Cc: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netlink.h