[net-next,v2,0/3] ipv4/v6: icmp: small cleanup and update
mbox series

Message ID 20190223072828.159975-1-wangkefeng.wang@huawei.com
Headers show
Series
  • ipv4/v6: icmp: small cleanup and update
Related show

Message

Kefeng Wang Feb. 23, 2019, 7:28 a.m. UTC
v2:
- Add cover letter and user proper patch subject-prefix suggested-by Eric Dumazet

This patch series contains some small cleanup and update,
1) use icmp/v6_sk_exit when icmp_sk_init fails instead of open-code
2) use new percpu allocation interface for the ipv6.icmp_sk

Kefeng Wang (3):
  ipv4: icmp: use icmp_sk_exit()
  ipv6: icmp: use icmpv6_sk_exit()
  ipv6: icmp: use percpu allocation

 include/net/netns/ipv6.h |  2 +-
 net/ipv4/icmp.c          |  4 +---
 net/ipv6/icmp.c          | 32 ++++++++++++++------------------
 3 files changed, 16 insertions(+), 22 deletions(-)

Comments

David Miller Feb. 25, 2019, 5:57 a.m. UTC | #1
From: Kefeng Wang <wangkefeng.wang@huawei.com>
Date: Sat, 23 Feb 2019 15:28:25 +0800

> v2:
> - Add cover letter and user proper patch subject-prefix suggested-by Eric Dumazet
> 
> This patch series contains some small cleanup and update,
> 1) use icmp/v6_sk_exit when icmp_sk_init fails instead of open-code
> 2) use new percpu allocation interface for the ipv6.icmp_sk

Series applied, thanks.