diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2007-03-14 16:45:39 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:25:58 -0700 |
commit | ac6d141dc7d1d0eeec850d1b451dca83ce649684 (patch) | |
tree | 300a223d61740d9d61561cd755f2adc1d050c1ff /net/netrom | |
parent | c8e2078cfe414a99cf6f2f2f1d78c7e75392e9d4 (diff) | |
download | blackbird-op-linux-ac6d141dc7d1d0eeec850d1b451dca83ce649684.tar.gz blackbird-op-linux-ac6d141dc7d1d0eeec850d1b451dca83ce649684.zip |
[NETFILTER]: nfnetlink: parse attributes with nfattr_parse in nfnetlink_check_attribute
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>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions