From patchwork Sat Feb 23 07:28:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 1047287 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 445zyC17QXz9s71 for ; Sat, 23 Feb 2019 18:15:47 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727604AbfBWHPp (ORCPT ); Sat, 23 Feb 2019 02:15:45 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:4262 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727132AbfBWHPn (ORCPT ); Sat, 23 Feb 2019 02:15:43 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id ED615CC87C5DA907F92D; Sat, 23 Feb 2019 15:15:37 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.408.0; Sat, 23 Feb 2019 15:15:29 +0800 From: Kefeng Wang To: , , CC: Kefeng Wang Subject: [PATCH net-next v2 0/3] ipv4/v6: icmp: small cleanup and update Date: Sat, 23 Feb 2019 15:28:25 +0800 Message-ID: <20190223072828.159975-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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(-)