[NETFILTER]: nfnetlink: parse attributes with nfattr_parse in nfnetlink_check_attribute
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 14 Mar 2007 23:45:39 +0000 (16:45 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:25:58 +0000 (22:25 -0700)
Use nfattr_parse to parse attributes, this patch also modifies the default
behaviour since unknown attributes will be ignored instead of returning
EINVAL. This ensure backward compatibility: new libraries with new
attributes and old kernels can work.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found