]> git.baikalelectronics.ru Git - kernel.git/commit
[XFRM] netlink: Establish an attribute policy
authorThomas Graf <tgraf@suug.ch>
Wed, 22 Aug 2007 20:59:04 +0000 (13:59 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:23 +0000 (16:48 -0700)
commit38048e58835d302b2ab2c75947bca731c705db8e
tree64471b7121109b91a76481a92f6b5c037e66c421
parent36391c9660f123dd3010b9be3fa14b06ea366e0d
[XFRM] netlink: Establish an attribute policy

Adds a policy defining the minimal payload lengths for all the attributes
allowing for most attribute validation checks to be removed from in
the middle of the code path. Makes updates more consistent as many format
errors are recognised earlier, before any changes have been attempted.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_user.c