]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitefce213881de14b793855a4ebbb515f3f6d0a6bd
treed2c94d708bed468a0a2843f4d0611435b134306b
parentad2378c9b0ffff88b25e7c13e2c8d1c2472b3382
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