From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BFA6B175A87; Thu, 12 Mar 2026 13:48:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773323338; cv=none; b=Pglhx5RwzrdM7b/amvZ3DoI/GpkC4aR1WWDyzLO2eCtrb1x6i/Md0V7ns7yHrPs0dTARdkYdWMZwUHItM1QFYgA+Ez0BZtfMutEAu2mDhKnSotz8i3WFKq+ykTYSaqRp+4uUn26xKTlDpJcQXwTEfvmlUU2rlQsOp10fWZP1qoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773323338; c=relaxed/simple; bh=n6Wi8+Wf3bcqnQdzJvITeSyaVeWgTfVDYqyrAlHIfO8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RMXUWNoQRFVwzH2zJAZTGtgViy6bChn27ZKp5L/GG1qJC/zt4XWpVcTKc6iQAIoyH1FvE/tdi8PkJLGrbornc71jJlvnW5LeUghpQGVOmupre1ol48atBy1RGm+lTAZVLQiAjL/0eV4duPDVRpbQOLmI5gOSxVo+jaHYSYiyPFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b=Vbza1ZoZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="Vbza1ZoZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1211C4CEF7; Thu, 12 Mar 2026 13:48:54 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="Vbza1ZoZ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1773323333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cGQoGI0iD9IPU4MUwC9OugDLG8y8kJybLkuwslOCZHA=; b=Vbza1ZoZ3MQ4b2ykXY2DyqS4C6Ur7UHx9qiWIc/vFh778HfoElPE2RxbHwwtYDWBWz5kTd GgqrRtZHwWKcuZxBSTueiwWRWvj2d75BQlYdE8HJs5S7vd9FutLk/Ei4er761vtUbva2iY m5uliyiKx+1wocBBtZVjNBVv6c6GbN0= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 780e6e40 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 12 Mar 2026 13:48:53 +0000 (UTC) Date: Thu, 12 Mar 2026 14:48:48 +0100 From: "Jason A. Donenfeld" To: Fernando Fernandez Mancera Cc: netdev@vger.kernel.org, rbm@suse.com, Jason Gunthorpe , Leon Romanovsky , Zhu Yanjun , Saeed Mahameed , Tariq Toukan , Mark Bloch , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Boris Pismenny , Ido Schimmel , Petr Machata , Simon Horman , Edward Cree , Pablo Neira Ayuso , Harald Welte , Antonio Quartulli , Sabrina Dubroca , Oliver Neukum , David Ahern , Stanislav Yakovlev , Nikolay Aleksandrov , Parav Pandit , Edward Srouji , Vlad Dumitrescu , Kees Cook , Jianbo Liu , Gal Pressman , Guillaume Nault , Cosmin Ratiu , Carolina Jubran , Alexandre Cassen , Stanislav Fomichev , "open list:INFINIBAND SUBSYSTEM" , open list , "open list:NETRONOME ETHERNET DRIVERS" , "open list:SFC NETWORK DRIVER" , "open list:GTP (GPRS Tunneling Protocol)" , "open list:USB CDC ETHERNET DRIVER" , "open list:WIREGUARD SECURE NETWORK TUNNEL" , "open list:INTEL PRO/WIRELESS 2100, 2200BG, 2915ABG NETWOR..." , "open list:ETHERNET BRIDGE" Subject: Re: [PATCH 05/10 net-next v2] drivers: net: drop ipv6_stub usage and use direct function calls Message-ID: References: <20260310153506.5181-1-fmancera@suse.de> <20260310153506.5181-6-fmancera@suse.de> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260310153506.5181-6-fmancera@suse.de> On Tue, Mar 10, 2026 at 04:34:28PM +0100, Fernando Fernandez Mancera wrote: > diff --git a/drivers/net/wireguard/socket.c b/drivers/net/wireguard/socket.c > index 253488f8c00f..c362c78d908e 100644 > --- a/drivers/net/wireguard/socket.c > +++ b/drivers/net/wireguard/socket.c > @@ -136,8 +136,7 @@ static int send6(struct wg_device *wg, struct sk_buff *skb, > if (cache) > dst_cache_reset(cache); > } > - dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl, > - NULL); > + dst = ip6_dst_lookup_flow(sock_net(sock), sock, &fl, NULL); > if (IS_ERR(dst)) { > ret = PTR_ERR(dst); > net_dbg_ratelimited("%s: No route to %pISpfsc, error %d\n", Rest in peace, stub. For the WireGuard part, Reviewed-by: Jason A. Donenfeld