diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2013-09-03 02:13:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-04 14:14:53 -0400 |
commit | 639739b5e609a5074839bb22fc061b37baa06269 (patch) | |
tree | fdfb281e6c5d629ecec0702cf9d89f3a3f818ee6 /samples | |
parent | a8e9fd0f7462f5cada5189513d12fe6c9cce2105 (diff) | |
download | op-kernel-dev-639739b5e609a5074839bb22fc061b37baa06269.zip op-kernel-dev-639739b5e609a5074839bb22fc061b37baa06269.tar.gz |
ipv6: fix null pointer dereference in __ip6addrlbl_add
Commit b67bfe0d42cac56c512dd5da4b1b347a23f4b70a ("hlist: drop
the node parameter from iterators") changed the behavior of
hlist_for_each_entry_safe to leave the p argument NULL.
Fix this up by tracking the last argument.
Reported-by: Michele Baldessari <michele@acksyn.org>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Tested-by: Michele Baldessari <michele@acksyn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions