Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2026 22:48:18 +0000
From:      Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 19887b9c4cec - main - ifconfig: Do not build geneve with WITHOUT_NETLINK_SUPPORT
Message-ID:  <69e16732.3666d.506e1111@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by pouria:

URL: https://cgit.FreeBSD.org/src/commit/?id=19887b9c4cec9c6468481ef415bbf94f68592856

commit 19887b9c4cec9c6468481ef415bbf94f68592856
Author:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
AuthorDate: 2026-04-16 22:40:02 +0000
Commit:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
CommitDate: 2026-04-16 22:47:59 +0000

    ifconfig: Do not build geneve with WITHOUT_NETLINK_SUPPORT
    
    geneve(4) is netlink-only, therefore, don't build it with
    WITHOUT_NETLINK_SUPPORT=1 set.
    
    Reported by:    kp
    Fixes:          688e289ee904 ("ifconfig: Add support for geneve (netlink)")
    Differential Revision: https://reviews.freebsd.org/D55184
---
 sbin/ifconfig/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/ifconfig/Makefile b/sbin/ifconfig/Makefile
index cc518693c2f5..26391023d54a 100644
--- a/sbin/ifconfig/Makefile
+++ b/sbin/ifconfig/Makefile
@@ -30,7 +30,6 @@ SRCS+=	ifmedia.c		# SIOC[GS]IFMEDIA support
 SRCS+=	iffib.c			# non-default FIB support
 SRCS+=	ifvlan.c		# SIOC[GS]ETVLAN support
 SRCS+=	ifvxlan.c		# VXLAN support
-SRCS+=	ifgeneve.c		# GENEVE support
 SRCS+=	ifgre.c			# GRE keys etc
 SRCS+=	ifgif.c			# GIF reversed header workaround
 SRCS+=	ifipsec.c		# IPsec VTI
@@ -67,6 +66,7 @@ LIBADD+=	nv
 
 .if ${MK_NETLINK_SUPPORT} != "no"
 SRCS+=	ifconfig_netlink.c
+SRCS+=	ifgeneve.c		# GENEVE support
 .else
 CFLAGS+=-DWITHOUT_NETLINK
 .endif


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e16732.3666d.506e1111>