Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp780862rda; Sun, 22 Oct 2023 09:22:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGS2Jf0gCCAOln/QAVkDsb38CPHdDc8sR9VqCL06NEQrbOgotUAi3ipKUczgeaBirwg6C9x X-Received: by 2002:aca:2814:0:b0:3ae:2b43:dd4a with SMTP id 20-20020aca2814000000b003ae2b43dd4amr7662412oix.45.1697991748906; Sun, 22 Oct 2023 09:22:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697991748; cv=none; d=google.com; s=arc-20160816; b=RCJeB2gConEv3lo4l6YedzCT8lCtJDFzVzCyMbvzvxBPZ8363uLF9CwOD7qaR7KhFX nx/gSaBbIdrcaBzOuuV1fFkq9duAAlxj/fNc+SiEbBcEITg6ZP/4cwMjSJmLwgP8ZHXr ghuJwwOHha+aLOIsZjL/XRIRhgmsJbsGT/YR+mQY/Z3sZOq+MZ4M/eXWxeJ1pS6YYvaV Az9vgdgTfQd7uBsceSvJQBZ08akStphKQMZlEP5cNNQiU9HUtOYV1fO81n0kRc4r5mDn c3r28SXZbf2rvuL/96dKKQsIIODGDeLoB+sWrFAf8B7W1z40omHwx2hk9lB4wS9MDqLo liYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QjLK10gOjLyBhjnmz7OKoZPoDInuhNvXPFVtbeHVZ/Y=; fh=GKuCftXWVuD2V02qa8+3+sB56hLITty73r2bEYgwwVo=; b=zVqna0srzhZYVsNx+UFG6BSyVj/mH3msNwk4MBYt7cfGqxV3Gf2XvjxKZAZd5lZSRv eZs3NucM2zzaZi1qEPXGch61abFWMjBaLpfeBo3wtBtKKgBM5zWZPQROCI9xZ7xSf4rS DTXIjQKf4DoogdDJpWl9qqYxAaOdNw0j9ad96GlolBMDl1ZLnBKWzuC3e9Mni+lfEkEQ Qyh2N+AYNKiImT4yIlv7vjOAwmR6NYxJE42cwTaG1Aqvfycm1v6OIG05vDSx2KjcVsw6 DNAEp4m/zXZ7dcpGgrnQ6X+kqHwwkIo8JnJCSN0iEH1slL2j52zVsUcNkWPJMbJKqAX8 CEvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="g/GlPv0Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id z10-20020a65664a000000b005657ba564bdsi4929793pgv.826.2023.10.22.09.22.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 09:22:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="g/GlPv0Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 34AC6807C6EC; Sun, 22 Oct 2023 09:20:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232532AbjJVQUq (ORCPT + 99 others); Sun, 22 Oct 2023 12:20:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232550AbjJVQUk (ORCPT ); Sun, 22 Oct 2023 12:20:40 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25447D7B; Sun, 22 Oct 2023 09:20:38 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7788db95652so182823985a.2; Sun, 22 Oct 2023 09:20:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697991637; x=1698596437; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=QjLK10gOjLyBhjnmz7OKoZPoDInuhNvXPFVtbeHVZ/Y=; b=g/GlPv0Zhl1w3yNguY+dkzDGndcNOurb34FXRRWSrkVGz9zKFS04S6QTmY/FGsCkVW 20+s2rR7JrhiJ/DXxewMwjZotXSmr1VY3YC+YcKk/81QD2ukE26IH8qAuRevLGUSJmeZ sIeNfi5LlSRpN172SsWym+OmEXONlro3ic94ftTDyjmtwf4n1R98HeCRc9AguZ9qGn6f 5SmORnykAxzaElLUV/gZ3ACL73rp0khbyXJsXPqEuqDaLUBDJEg7q0Mp8TbVFOND1cII ItwZ/bR81hktCaA8XvpPeRGGbFg+EU7hU2N4G3Ur1gV4FNkdsY85SUtP9hkloiiAIFwu 5BHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697991637; x=1698596437; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QjLK10gOjLyBhjnmz7OKoZPoDInuhNvXPFVtbeHVZ/Y=; b=nseg0BmsfkmJ85sSOp+n7mGhftyraiCF5GLgb5IRsiFns65wYI76uFcZQnEnWd//8o irHR0FPwL51NpWgOP1xvzkOdV3Iw2R+PyLQUL2/Ubj/gNSbXXt+jF6rWEndFvoFnRdHp bdWSRxUQNc8Wddf2shPfF2O/LnvPwOaksH7slvsOTwQZvee/AIKEx2bJSEDRzcDZCdrK 1/cirFAM1uiQFnMeV14zNGVY+SyuqLoNdf55EK3Pfw8hnG11o0IMy7OsTxTCRZYianD3 AMJXerNTpX89CRV1qTOq5hURymtN1Mh22upN+no5AXJmwRxMYkD3am3Ib2tNexc1Fejg zr3Q== X-Gm-Message-State: AOJu0YzjVA3imSjnrQqbsYpWJGjY6ZjMuVOUEAFOrMMfeeGdG1e/ae55 O8y6dD5oP49xU93yDYCXnH5qhOexA3tUe5b0 X-Received: by 2002:a05:620a:4550:b0:76f:839:6bdd with SMTP id u16-20020a05620a455000b0076f08396bddmr9931828qkp.3.1697991636887; Sun, 22 Oct 2023 09:20:36 -0700 (PDT) Received: from localhost ([2601:8c:502:14f0:d6de:9959:3c29:509b]) by smtp.gmail.com with ESMTPSA id a24-20020a05620a103800b00767da10efb6sm2110025qkk.97.2023.10.22.09.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 09:20:36 -0700 (PDT) Date: Sun, 22 Oct 2023 12:20:35 -0400 From: Oliver Crumrine To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: davem@davemloft.n Subject: [PATCH net-next 06/17] Update code for cork as a pointer Message-ID: <29d13b7a3b74d7922b199ab70baa15569f453fe8.1697989543.git.ozlinuxc@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 22 Oct 2023 09:20:59 -0700 (PDT) Because the corks are pointers, they don't need to be referenced to be passed into __ip6_make_skb. Signed-off-by: Oliver Crumrine --- include/net/ipv6.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net/ipv6.h b/include/net/ipv6.h index c6932d1a3fa8..88eded2662ff 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -1122,8 +1122,8 @@ struct sk_buff *ip6_make_skb(struct sock *sk, static inline struct sk_buff *ip6_finish_skb(struct sock *sk) { - return __ip6_make_skb(sk, &sk->sk_write_queue, &inet_sk(sk)->cork, - &inet6_sk(sk)->cork); + return __ip6_make_skb(sk, &sk->sk_write_queue, inet_sk(sk)->cork, + inet6_sk(sk)->cork); } int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst, -- 2.42.0