summaryrefslogtreecommitdiffstats
path: root/lib/crc16.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2011-02-28 12:38:25 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-28 12:38:25 -0800
commite3fa3aff0cb198e7c53d894f52146121d9592872 (patch)
tree69746e934e9b4cdff8ae686caafb471770755e73 /lib/crc16.c
parentf5a45325284ec10a907b96052ebf2168e7166b5c (diff)
downloadlinux-e3fa3aff0cb198e7c53d894f52146121d9592872.tar.gz
linux-e3fa3aff0cb198e7c53d894f52146121d9592872.tar.bz2
linux-e3fa3aff0cb198e7c53d894f52146121d9592872.zip
net: fix nla_policy_len to actually _iterate_ over the policy
Currently nla_policy_len always returns n * NLA_HDRLEN: It loops, but does not advance it's iterator. NLA_UNSPEC == 0 does not contain a .len in any policy. Trivially fixed by adding p++. Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions