ipv4: icmp: use icmp_sk_exit()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Sat, 23 Feb 2019 07:28:26 +0000 (15:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 05:57:26 +0000 (21:57 -0800)
commite9128c14bf1ecf2d4afdd9aab2f5fe7277358233
tree59024c4c347f7ed242ddd442053b58bbca630378
parent4ef595cbb3f871620083dcface7a7fb8f2152607
ipv4: icmp: use icmp_sk_exit()

Simply use icmp_sk_exit() when inet_ctl_sock_create() fail in icmp_sk_init().

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