]> err.no Git - linux-2.6/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)
commitcf5cb79f6946063b04be3df16dcaa781e48bdbef
tree64471b7121109b91a76481a92f6b5c037e66c421
parenta7bd9a45c8c8901f800a461a4098ebae2b8a4b78
[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