From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F048C32792 for ; Mon, 30 Sep 2019 16:02:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C4F7216F4 for ; Mon, 30 Sep 2019 16:02:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732189AbfI3QCY (ORCPT ); Mon, 30 Sep 2019 12:02:24 -0400 Received: from host.76.145.23.62.rev.coltfrance.com ([62.23.145.76]:57966 "EHLO proxy.6wind.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730809AbfI3QCY (ORCPT ); Mon, 30 Sep 2019 12:02:24 -0400 Received: from bretzel.dev.6wind.com (unknown [10.16.0.19]) by proxy.6wind.com (Postfix) with ESMTP id 4443B324B61; Mon, 30 Sep 2019 18:02:22 +0200 (CEST) From: Nicolas Dichtel To: davem@davemloft.net Cc: netdev@vger.kernel.org Subject: [PATCH net-next 0/2] Ease nsid allocation Date: Mon, 30 Sep 2019 18:02:12 +0200 Message-Id: <20190930160214.4512-1-nicolas.dichtel@6wind.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The goal of the series is to ease nsid allocation from userland. The first patch is a preparation work and the second enables to receive the new nsid in the answer to RTM_NEWNSID. net/core/net_namespace.c | 118 ++++++++++++++++++++++++++++------------------- 1 file changed, 71 insertions(+), 47 deletions(-) Comments are welcomed, Nicolas