From patchwork Wed Sep 28 03:39:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liujian (CE)" X-Patchwork-Id: 12991567 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 0EBEAC32771 for ; Wed, 28 Sep 2022 03:31:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231986AbiI1Dbs (ORCPT ); Tue, 27 Sep 2022 23:31:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232348AbiI1DbX (ORCPT ); Tue, 27 Sep 2022 23:31:23 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A29885D10D for ; Tue, 27 Sep 2022 20:31:02 -0700 (PDT) Received: from canpemm500010.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Mchk62bcGzWgsb; Wed, 28 Sep 2022 11:26:54 +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; Wed, 28 Sep 2022 11:30:59 +0800 From: Liu Jian To: , , , , , , CC: Subject: [PATCH net-next v2 0/2] Add helper functions to parse netlink msg of ip_tunnel Date: Wed, 28 Sep 2022 11:39:15 +0800 Message-ID: <20220928033917.281937-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 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(-)