]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit36391c9660f123dd3010b9be3fa14b06ea366e0d
tree825a7864c856f3dceaa002143c6c4a63c031a35a
parent49064cbcd33af174e8d191a7ee418a494f1049fe
[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