diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-12 15:54:51 (GMT) |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-06-20 09:20:13 (GMT) |
commit | 130ffbc2638ddc290fcbabe1b9ce6a5d333a6a97 (patch) | |
tree | 79f5f278a8c98d2c569772bb5f7d72836da795d3 /Documentation/wimax | |
parent | fedaf4ffc224a194e2d13a3ec2abe5df0bc94258 (diff) | |
download | linux-fsl-qoriq-130ffbc2638ddc290fcbabe1b9ce6a5d333a6a97.tar.xz |
netfilter: check return code from nla_parse_tested
These are the only calls under net/ that do not check nla_parse_nested()
for its error code, but simply continue execution. If parsing of netlink
attributes fails, we should return with an error instead of continuing.
In nearly all of these calls we have a policy attached, that is being
type verified during nla_parse_nested(), which we would miss checking
for otherwise.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation/wimax')
0 files changed, 0 insertions, 0 deletions