ipv4: Missing sk_nulls_node_init() in ping_unhash().

commit a134f083e7 upstream.

If we don't do that, then the poison value is left in the ->pprev
backlink.

This can cause crashes if we do a disconnect, followed by a connect().

Tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Reported-by: Wen Xu <hotdog3645@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
David S. Miller 2015-05-01 22:02:47 -04:00 • committed by Luis Henriques
commit f91222b610