[XFRM] netlink: Use nlmsg_parse() to parse attributes
authorThomas Graf <tgraf@suug.ch>
Wed, 22 Aug 2007 20:58:18 +0000 (13:58 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:22 +0000 (16:48 -0700)
commita7bd9a45c8c8901f800a461a4098ebae2b8a4b78
tree825a7864c856f3dceaa002143c6c4a63c031a35a
parent7deb2264909ec82ae4696dd73d8ffce6814c9114
[XFRM] netlink: Use nlmsg_parse() to parse attributes

Uses nlmsg_parse() to parse the attributes. This actually changes
behaviour as unknown attributes (type > MAXTYPE) no longer cause
an error. Instead unknown attributes will be ignored henceforth
to keep older kernels compatible with more recent userspace tools.

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