ipv6: icmp: use icmpv6_sk_exit()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Sat, 23 Feb 2019 07:28:27 +0000 (15:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 05:57:26 +0000 (21:57 -0800)
commit3232a1ef0f0d1b8d3c5bb4d5b3584fa45d29f760
treec3c0789bb2bf5dc0e3db73d36445fddce5f8b43c
parente9128c14bf1ecf2d4afdd9aab2f5fe7277358233
ipv6: icmp: use icmpv6_sk_exit()

Simply use icmpv6_sk_exit() when inet_ctl_sock_create() fail
in icmpv6_sk_init().

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c