From patchwork Thu Sep 29 13:52:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liujian (CE)" X-Patchwork-Id: 12994114 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B544C433FE for ; Thu, 29 Sep 2022 13:43:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235210AbiI2Nny (ORCPT ); Thu, 29 Sep 2022 09:43:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235055AbiI2Nnw (ORCPT ); Thu, 29 Sep 2022 09:43:52 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F7B71B34A3 for ; Thu, 29 Sep 2022 06:43:51 -0700 (PDT) Received: from canpemm500010.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MdZGX0YZMz1P6vZ; Thu, 29 Sep 2022 21:39:32 +0800 (CST) Received: from huawei.com (10.175.101.6) by canpemm500010.china.huawei.com (7.192.105.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 29 Sep 2022 21:43:49 +0800 From: Liu Jian To: , , , , , , CC: Subject: [PATCH net-next v3 0/2] Add helper functions to parse netlink msg of ip_tunnel Date: Thu, 29 Sep 2022 21:52:01 +0800 Message-ID: <20220929135203.235212-1-liujian56@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500010.china.huawei.com (7.192.105.118) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Add helper functions to parse netlink msg of ip_tunnel v1->v2: Move the implementation of the helper function to ip_tunnel_core.c v2->v3: Change EXPORT_SYMBOL to EXPORT_SYMBOL_GPL Liu Jian (2): net: Add helper function to parse netlink msg of ip_tunnel_encap net: Add helper function to parse netlink msg of ip_tunnel_parm include/net/ip_tunnels.h | 6 ++++ net/ipv4/ip_tunnel_core.c | 67 +++++++++++++++++++++++++++++++++++++++ net/ipv4/ipip.c | 62 ++---------------------------------- net/ipv6/ip6_tunnel.c | 37 ++------------------- net/ipv6/sit.c | 65 ++----------------------------------- 5 files changed, 81 insertions(+), 156 deletions(-)