From nobody Thu Jan 30 09:32:28 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YkDMJ60Gbz5nPGD for ; Thu, 30 Jan 2025 09:32:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YkDMJ5W8Yz3SVW for ; Thu, 30 Jan 2025 09:32:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738229548; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BlzyhRKEqtR68E7T2Mx+meqY4PD3rDw/wckVcXvIVS0=; b=o8hWso7+l5taYbqF6Sr5ofiOf6EW/XzsTQYFVcPYPcrdTjg7/0a9AF+p+gZnJwGKqz3UpN /g712dYbPWldc7h0od5ltOGdyUmHozUHUtOuevUC+0hZsCByvqsPUlrhFtaTfZxwXN/DeR Gixan9dH3TyyYeIKvSzQXtsaIPu0JpwWXUxIL+beuqSfz6dqQlniKn7mfrcumopSQrgKtE Z1PzddDYEWSSQ9twfpFrfWu8gcPIFYCTLGMRD92/F68yIdi+vJVFJjlKiZP9iGCsQG/Chv 4Bsq96HFACm49FAIAFIavol2uwFZfo+1HS7UoUC4XDKPuGiR2I85uNX/oth//Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738229548; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BlzyhRKEqtR68E7T2Mx+meqY4PD3rDw/wckVcXvIVS0=; b=bybKuGlsro24R1xltXMQ6kQmKTP4rJS0xP4hIm9+MqbdSw0p7Ki0JHdrWkDo8wZGzWG60Y CttTkil54vCkKIB+ou2jUU6XuxotrijGBBsvVGgsHK3xLvYxWsTb30CljZmzAu3eG7FGTG zB4TlVKQsGw4TsMeLufpmms69WXd4F9zH84XUTxGxTWGTTmaz8A5jd/VTC4wHa7T8n9n7X aDKuyxmKY7XkJ6su7llOdya6sAQjp1SVhD5hO68SUUewJlO76o7OXC8T6NlDZT3JnceX+e QCxCoAayB1aqrgWTe0fUsWUdfntPsuEkE08NjmHQTH+GivR++LIOce/65jHivQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738229548; a=rsa-sha256; cv=none; b=hRRIHNNzYivgXvLyJWe6pMNoOFF7sEr+vta5tS9weAuZlNecy2peTsdaYVrtWkFOW6yMfh Ba357A6u5D61wLodzTVDwArSS3SgYlyaHP8369r5wk5B40FS5jtPXranY595ncHjx7bZ5h tZHM4gxo+SETpSf4VdDM9BGfB1fM3ASC+BPsJLeB1cK4XFHXVckKixiMefW2B3gLQsW0ew mby0X3AcGZRmwV+DTJb2FxymllXHReZPHaV0TWtF6XP1o32meegLXHXRijr1OAIJzujn8z 59fAWHzcSx1YFQhesPRD2++/zhmVTG2UtG28eH1tijt6ZLPrZLDiOt9uOUhMkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YkDMJ532wzjMP for ; Thu, 30 Jan 2025 09:32:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50U9WSXI028735 for ; Thu, 30 Jan 2025 09:32:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50U9WSTg028734 for bugs@FreeBSD.org; Thu, 30 Jan 2025 09:32:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 284459] if_ovpn: Undefined symbol "in6_sin6_2_sin_in_sock" if IPv6 support is disabled Date: Thu, 30 Jan 2025 09:32:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kwf@nanoteq.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284459 Bug ID: 284459 Summary: if_ovpn: Undefined symbol "in6_sin6_2_sin_in_sock" if IPv6 support is disabled Product: Base System Version: 14.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: kwf@nanoteq.com A kernel compiled without IPv6 support does cannot load if_ovpn.ko as it requires does not cater of IPv6 mapped addresses from IPv4. Specifically, these lines are not defined for only INET6 support, which cau= ses the error.=20 if (peer->local.ss_family =3D=3D AF_INET6 && IN6_IS_ADDR_V4MAPPED(&TO_IN6(&peer->remote)->sin6_addr)) { /* V4 mapped address, so treat this as v4, not v6. */ in6_sin6_2_sin_in_sock((struct sockaddr *)&peer->local); in6_sin6_2_sin_in_sock((struct sockaddr *)&peer->remote); } My suggestion is to move the #ifdef INET6 before this logic. Note: This issue is also present on the main branch. --=20 You are receiving this mail because: You are the assignee for the bug.=