From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796059434; b=QNCeOJAzcYQlkD/NqqzGRjF70ISfZXZSO80KodA1jmvJyZNNeFXLM5IGyKXgmV/mmWXx L4zaUvYxA85jFD2clIXstPpoHFkjd4V5v6YTV7wKeE4ITWtX7IQeLmpbpV25JrlJIr5Ow k7rm1n/6dvvUmoM1+Irxmodc0iSF9MOvtGjG0Huo8jfq5Mrk0purVO6Rzu4sPerc9KQJR KObNXiRM0iXi8iJvZzp/70xac85Z/xxHFoF8hEEVvIMba/dn208nlPrlqYGHpIK77YdZR 8B/4Vc3Og+0Ve3NRQxFhizVkxATS6yKhI6IkbzToepyAzvWRmdSD9EAncCH5reTNs2w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796059434; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=MKgMIHBqVtviNPLZ66DShYtZS0Cs3DRXryWb0rYyuXE=; b=5Ncs4KGteJ2svNZgCJSWmZfQLG8kncRQZSZbYyq9KJExpGVDx0uVLMvvFCVTijxBB5cw TBULtllXVuaKUjuhstOPtADQHQ9Jw6UkEZB1zi5n8o+gUhn2YmtV1cpYKiTTcg0nrC694 Hx7Eckthc6eR3Z9lM4nIOPedQ/LqZg6yKq3rSZDR9DVSaj8iihjFgIdHqOAu0vryxAJjP yiOD7Bk26G9tIjLyvo1N0Lsww6dnjfV6Wm9UDHa7lejHvNtQ1y71Oy+HHOjv+5/kZClIx hWjSvGBx/w9JA0tujcf8Elhe4inJxQ1fV0+YK9KN5y5CTk/P/DX5rumW2V1+X9ahwPg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=networkplumber.org; spf=pass smtp.mailfrom=networkplumber.org; dkim=pass header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=P3B16ntv; arc=none smtp.remote-ip=209.85.216.48 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3576F606A32F for ; Mon, 30 Nov 2026 17:23:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3576F606A32F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=networkplumber.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=networkplumber.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=P3B16ntv Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-3b51a9606e8so2870809a91.3 for ; Mon, 30 Nov 2026 09:23:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1796059432; x=1796664232; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=MKgMIHBqVtviNPLZ66DShYtZS0Cs3DRXryWb0rYyuXE=; b=P3B16ntv54TeXmn+ERwPB/t1hU5ijWTOfAacgyIbNECmEN3wH2vY+nvjs8T5cOEnJv tAPREyt90RrB3ANL5tXp3IXaWRsL22C+3HzPIGTGFH6scAdj7cICQSNQ3zCM8vLrQTF2 aIUaMbQC26z0ipj2LAkQEWhZi9Z39WhQ6TW6HQ3pCC/8Avf54udZTbVtaQxJkGgYTZD+ PlmFZgLQ1taiKLtUE6IlMQ9uFhDPA49B6CasT3KfQrfhEjBmjWIL2GznV+R87mCuVr3I IHphMWHN3RE8YSM18WV/JIwgjFworOLaDX3It16kLb+izv9CXgP5BbUh221XFO1S6HVW 5SOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796059432; x=1796664232; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=MKgMIHBqVtviNPLZ66DShYtZS0Cs3DRXryWb0rYyuXE=; b=OMZ4s9yFCjmU+pfCi3Pe/A97S1PsCF+KzV2ynGuk9RFuuBPPQtmbsNboKG2QPaTliv zTe3Od6csqME8Y/09C9+3/C7g9mVmdwRwQevUdvRjfgDkcAfZvhdH8AJuSXCms9T3oLs sH+tBxWD2HICFlj/tqsaGLN7FPWBcdMxTD2l3zn6kG796HDL4D/VQOfXYZc12fernmgY hsGRecIfIfT8izF1v6SZmw59i9kaLip5DniieAAvwXDRFbqVzLnKXu91TFDXGPnl+UJ/ w4vGvl8wW13aF+hlO2FI1jtk4t3U9my18vW0AK+rw/da31HrxraYFfWR4b/y9CxMUAFN nvbQ== X-Gm-Message-State: APuU4Z+JeOAUBK1J1FwqmvJ4fiARsv9nwu+vRQ9l+la3dt1GITCImBjE MNyJp9YCkVJhPRmfAmpjYELRoK2HsWpC3FiQK/fVWxrVhZzlZVE3UWs+YNsP/B/uAjvAm4cK+YU Ob44Yw7Q= X-Gm-Gg: AZFdTZd4hYk/TKWxx4QdanqbzziEmTvHUSiDGGkax6D+zyxEo0nL1BoUI7S2oFkA++V NLlJLTDQrok9eO8kFVhOldrPoXlYeVEqIMjPmufazftxj4MtJ3tNMOBb6JBQdo7tEc1tJqz9RNN UrxxMbXifxsz2v4wvXBQV50Pm/zZ/TtuVz2+CioJfv3/3QtoB0ahJXtEMsNBehr3TRLwe6hWmHH jDfqY4Gw6jdUfb08dvw8wgE6BCrIP7k70qoelJmz5JAp3sdT8DTm4Av0JUh96tmpvazDE4A2rGE 8bjiFr/EeYjmijuuTg4QnhNT8uGB2tu7P2XWKpMDrZltlVDVJEA1JDhpGyZbrS0aJvzo0sI4TKL eU/VF6oKPqoAHGm7nJia/MO95Z+s/p5oCC5ax1hMdjx0DpyW97Nf6FNhlppzMArmlgXagPGIk8M dUbSsjbAnsaAwUkXKWYN1dCW9CL9GO5+Z90qTSWRJu4xB8GoobiOtjD074P5ZeASpUIcgUBTCzp 08Nl6AvpAwIBcSrosGfX9OWOyYaDKsgzK/y7XRh3vOldxN9IMEwq1c96AXDkmlfbnRYs6sbOgIZ wawt6RnWCrziJ63LOwbwrHQrOf9sQ+u8DT6O45fu6uHZYYyiin24nG31njRsz8HGhTbS X-Received: by 2002:a17:90b:3f10:b0:3b3:b8f1:f152 with SMTP id 98e67ed59e1d1-3b41c7e1414mr32561885a91.2.1796059432424; Mon, 30 Nov 2026 09:23:52 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b41ad92c07sm54295494a91.13.2026.11.30.09.23.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 09:23:52 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: dsahern@kernel.org, jhs@mojatatu.com, Stephen Hemminger Subject: [PATCH iproute2-next 2/2] configure: remove stale ipset compat shim and unused IP_CONFIG_SETNS Date: Mon, 30 Nov 2026 09:23:49 -0800 Message-ID: <20261130172349.209692-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261130172349.209692-1-stephen@networkplumber.org> References: <20261130172349.209692-1-stephen@networkplumber.org> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Two unrelated leftovers in the generated config: check_ipset() carried a fallback block guarded by #ifndef IP_SET_INVALID. That macro has never existed in any released header; ip_set.h spells it IPSET_INVALID_ID. So the guard always fired and the block always compiled, defining IPSET_DIM_MAX as 3 where the real header says 6, and ip_set_id_t as unsigned short where it is __u16. The test only kept working because ip_set.h is included first and provides both itself. Drop the block and rely on the header. check_setns() wrote IP_CONFIG_SETNS to config.mk. No makefile has ever read it; the -DHAVE_SETNS added on the next line is what actually gates the fallback in include/namespace.h. The protocol 6/7 test and the setns/name_to_handle_at probes stay. musl and older glibc still make those worth checking. Signed-off-by: Stephen Hemminger --- configure | 5 ----- 1 file changed, 5 deletions(-) diff --git a/configure b/configure index d81a6a81..ef155ab3 100755 --- a/configure +++ b/configure @@ -84,7 +84,6 @@ int main(int argc, char **argv) } EOF if $CC -I$INCLUDE -o $TMPDIR/setnstest $TMPDIR/setnstest.c >/dev/null 2>&1; then - echo "IP_CONFIG_SETNS:=y" >>$CONFIG echo "yes" echo "CFLAGS += -DHAVE_SETNS" >>$CONFIG else @@ -121,10 +120,6 @@ check_ipset() { cat >$TMPDIR/ipsettest.c < -#ifndef IP_SET_INVALID -#define IPSET_DIM_MAX 3 -typedef unsigned short ip_set_id_t; -#endif #include struct xt_set_info info; -- 2.53.0