From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Dichtel Subject: [PATCH v2 iproute2 2/3] Revert "ip netns: Fix rtnl error while print netns list" Date: Mon, 13 Apr 2015 10:34:25 +0200 Message-ID: <1428914066-5106-2-git-send-email-nicolas.dichtel@6wind.com> References: <1428913385-4331-3-git-send-email-nicolas.dichtel@6wind.com> <1428914066-5106-1-git-send-email-nicolas.dichtel@6wind.com> Cc: netdev@vger.kernel.org, vadim4j@gmail.com, jbenc@redhat.com, Nicolas Dichtel To: shemminger@vyatta.com Return-path: Received: from 33.106-14-84.ripe.coltfrance.com ([84.14.106.33]:40964 "EHLO proxy.6wind.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752338AbbDMIec (ORCPT ); Mon, 13 Apr 2015 04:34:32 -0400 In-Reply-To: <1428914066-5106-1-git-send-email-nicolas.dichtel@6wind.com> Sender: netdev-owner@vger.kernel.org List-ID: This reverts commit d116ff34145b00db54a37e2a6282dccd8bc08225. Signed-off-by: Nicolas Dichtel --- configure | 21 +-------------------- ip/Makefile | 4 ---- ip/ipnetns.c | 7 ------- 3 files changed, 1 insertion(+), 31 deletions(-) diff --git a/configure b/configure index 631938e97206..c3dacdba14ff 100755 --- a/configure +++ b/configure @@ -201,7 +201,7 @@ check_setns() { cat >$TMPDIR/setnstest.c < -int main(int argc, char **argv) +int main(int argc, char **argv) { (void)setns(0,0); return 0; @@ -218,23 +218,6 @@ EOF rm -f $TMPDIR/setnstest.c $TMPDIR/setnstest } -check_netnsid() -{ - cat >$TMPDIR/netnsid.c < -int test_def = RTM_GETNSID; -EOF - $CC -c $TMPDIR/netnsid.c >/dev/null 2>&1 - if [ $? -eq 0 ] - then - echo "IP_CONFIG_NETNSID:=y" >> Config - echo "yes" - else - echo "no" - fi - rm -f $TMPDIR/netnsid.c $TMPDIR/netnsid.o -} - check_ipset() { cat >$TMPDIR/ipsettest.c <