commit | 8fa677d2706d325d71dab91bf6e6512c05214e37 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Nov 02 07:50:07 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 02 22:46:09 2015 -0500 |
tree | 6c16f02d7e748cd313e91424e34f181d9c7bdf21 | |
parent | ec13ad1d705c9990d55ed8ab21946cef323d30c7 [diff] |
net: avoid NULL deref in inet_ctl_sock_destroy() Under low memory conditions, tcp_sk_init() and icmp_sk_init() can both iterate on all possible cpus and call inet_ctl_sock_destroy(), with eventual NULL pointer. Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>