From: Kefeng Wang <wangkefeng.wang@huawei.com>
To: <davem@davemloft.net>, <netdev@vger.kernel.org>,
<eric.dumazet@gmail.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Subject: [PATCH net-next v2 0/3] ipv4/v6: icmp: small cleanup and update
Date: Sat, 23 Feb 2019 15:28:25 +0800 [thread overview]
Message-ID: <20190223072828.159975-1-wangkefeng.wang@huawei.com> (raw)
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(-)
--
2.20.1
next reply other threads:[~2019-02-23 7:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-23 7:28 Kefeng Wang [this message]
2019-02-23 7:28 ` [PATCH net-next v2 1/3] ipv4: icmp: use icmp_sk_exit() Kefeng Wang
2019-02-23 7:28 ` [PATCH net-next v2 2/3] ipv6: icmp: use icmpv6_sk_exit() Kefeng Wang
2019-02-23 7:28 ` [PATCH net-next v2 3/3] ipv6: icmp: use percpu allocation Kefeng Wang
2019-02-25 5:57 ` [PATCH net-next v2 0/3] ipv4/v6: icmp: small cleanup and update David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190223072828.159975-1-wangkefeng.wang@huawei.com \
--to=wangkefeng.wang@huawei.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox