From: Hannes Frederic Sowa Date: Tue, 3 Sep 2013 00:13:31 +0000 (+0200) Subject: ipv6: fix null pointer dereference in __ip6addrlbl_add X-Git-Tag: v3.12-rc1~132^2~1^2~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=639739b5e609a5074839bb22fc061b37baa06269;p=pandora-kernel.git 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 Cc: Hideaki YOSHIFUJI Cc: Sasha Levin Signed-off-by: Hannes Frederic Sowa Tested-by: Michele Baldessari Signed-off-by: David S. Miller --- Reading git-diff-tree failed