Hannes Frederic Sowa 639739b5e6 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>
2013-09-04 14:14:53 -04:00
..
2013-09-03 22:16:50 -04:00
2013-02-15 15:10:37 -05:00
2012-11-03 14:59:05 -04:00
2013-08-19 09:37:46 +02:00
2013-05-27 22:50:59 -07:00
2013-08-19 09:37:46 +02:00
2013-03-26 12:27:19 -04:00
2013-05-31 16:26:49 -07:00
2013-03-17 14:35:13 -04:00
2013-07-10 17:08:27 -07:00
2013-05-11 16:26:38 -07:00
2013-07-10 17:08:27 -07:00
2013-05-11 16:26:38 -07:00