Re: [PATCH 1/3] ipv4: icmp: use icmp_sk_exit()

2019-02-22 Thread Eric Dumazet
On 02/22/2019 09:11 AM, Eric Dumazet wrote: > > > On 02/21/2019 05:57 PM, Kefeng Wang wrote: >> Simply use icmp_sk_exit() when inet_ctl_sock_create() fail in icmp_sk_init(). >> >> Signed-off-by: Kefeng Wang >> --- >> net/ipv4/icmp.c | 4 +--- >> 1 file changed, 1 insertion(+), 3 deletions(-)

Re: [PATCH 1/3] ipv4: icmp: use icmp_sk_exit()

2019-02-22 Thread Eric Dumazet
On 02/21/2019 05:57 PM, Kefeng Wang wrote: > Simply use icmp_sk_exit() when inet_ctl_sock_create() fail in icmp_sk_init(). > > Signed-off-by: Kefeng Wang > --- > net/ipv4/icmp.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c > in

[PATCH 1/3] ipv4: icmp: use icmp_sk_exit()

2019-02-21 Thread Kefeng Wang
Simply use icmp_sk_exit() when inet_ctl_sock_create() fail in icmp_sk_init(). Signed-off-by: Kefeng Wang --- net/ipv4/icmp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index 065997f414e6..364cfe5e414b 100644 --- a/net/ipv4/icmp.c +++