Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp780814rda; Sun, 22 Oct 2023 09:22:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGqMHVZsm7gdcer/+SxCcgfKJQa3m6Wv3QzGVmJ85Hdxd2ZWAWG3rJVqAlluTWmzbFWvYTT X-Received: by 2002:a05:6830:4ba:b0:6cd:9b6:5954 with SMTP id l26-20020a05683004ba00b006cd09b65954mr6580585otd.38.1697991743591; Sun, 22 Oct 2023 09:22:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697991743; cv=none; d=google.com; s=arc-20160816; b=aioCghV3BWzIQdJkeW3jwRbJOdA40Wgg/rW0S7Q7dpU2J83X2Engv+/6WmLiRR5NgW qlsGeKhQ1uRSudP6srYbrQSCcvBoOZSntSo0NFbJJHz0bBPJIwIBqkSE7sGXo+8vJMFm rzzXUFWJ28uuVPbsP5zrc9rR9imkod2GJVJc9GPHJiRP3Vror6M8XXkoDSnH/3KNYxNp V7OUWaHi9TZXuIEE6CvnZd6J9fulrkfpGVLw7ttaRyYrzJ2xEYy71Tr4aVxLnyAx+9wv S1ZJMmDOp9x1jPNtchTpZpuosb90TyrJDWCHvYgatcJMiycD3KgxIAKoPOCfszySBK0T /lcw== 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=B42kI3To7XoU3GKwYbYl8vB8ggJa0kdJgAmvrJnzDMo=; fh=GKuCftXWVuD2V02qa8+3+sB56hLITty73r2bEYgwwVo=; b=VLrZ83cuE4FE9WQJJsmRHP+15Jwvco4ExSOzl+dIoIVmuHzl+qVWi51WuUm/FM1zl2 zRe3OQpjeOhbQX7rk32Vxv/FGQJqDpCdmVGekAHjeVUggFpXvp0o+uIu8dyqbDgpOXat b1hr4ptFjFgwfcsvLHyrwnkQ/OSKV7TIdvWD4HN3/F6UpDwNQzDmIizZp/M0AzhbUr59 zcQP1uULMETgEHHcudnMmK8nv5EDkck2K3jI/5TsqC2jBKS6TiftypG3kuOnhfi4r2Do IQss4A1zPTrFGdUmZ/Jx855XkDJYvvfSwp5WbfIVJXH541SYwfKphzm9ZmC/kNLP8jWY nB2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=O3q+6Bn3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id h7-20020a636c07000000b005ad10a010f6si4837109pgc.352.2023.10.22.09.22.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 09:22:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=O3q+6Bn3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 5E0738080EDB; Sun, 22 Oct 2023 09:22:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232517AbjJVQWC (ORCPT + 99 others); Sun, 22 Oct 2023 12:22:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232598AbjJVQVg (ORCPT ); Sun, 22 Oct 2023 12:21:36 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECC51D73; Sun, 22 Oct 2023 09:21:31 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-7789a4c01ddso178163785a.1; Sun, 22 Oct 2023 09:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697991691; x=1698596491; 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=B42kI3To7XoU3GKwYbYl8vB8ggJa0kdJgAmvrJnzDMo=; b=O3q+6Bn3rOx07jtmBxKm/7MhBSDDyxqyc3t3vQcbwRkanpUGJhJDVoakYl9goRufJ+ ItJaH5V/AtPrn5l+8rNoW4FlqIreK3i131ZjuWoMneFnhmIeaNBYxkfiWPF+SsIIG0aW TNZOLXtPnmkA+xslOJ8nBNOH45tlKqFvJZDGV4q2Ce8DavXWAE+95VeVI7nDxO1Ui59U rxV3oyVcZrjeXtxEik1XBf/CVAT5pGyyBo0umc+1hlbcnVYE+baUXBo3xY6FT4TTpyCn V7YcrMxZxwZWYHWafzpGNFjghUQ8TqIbvy79zwHnGouO4xIBkcpfdEa1H7sBKszCLXrA 4Zow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697991691; x=1698596491; 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=B42kI3To7XoU3GKwYbYl8vB8ggJa0kdJgAmvrJnzDMo=; b=e4BPgrkFVVsWsWhU2H4Pz+NTUSPXG5IpfSUfomXu34TgYDB9EEwNDBc+l6PYuZ+Aot bGEpa4G84MpWh1sxtOObwkhToTedK+jV6H4chj4PoIJ8WpaTsaNRJZUJqcMNgeqZhwj+ NIdgdfWCYQwjzsMb0LA4riTUkoQyOYztClxN6Gw0S5jx0qgPnfACygjuClh4KRfY89Wk 9a/qAd33r8/E51l5nm9RHLkIp/pNhogRC6UqW+Gu58sTThFbLDI2YdTKmNnqC/Zai60y On5qNaPdyqtOcEG4iat9OPRlZpAgSfvY0/LDGOCvMq9sZWuRxwiJ5ZDy9uFk98WxlJ/q QTzw== X-Gm-Message-State: AOJu0YwR8Ecnf9407CnEG0Hoa1zq/xv9+QbdEv67QC6ffZeeaMeM3mN+ XFRqRpTLABnew4MnkDS1ZG/uoOvYRtuGOK9B X-Received: by 2002:a05:620a:27d4:b0:777:ac06:ed91 with SMTP id i20-20020a05620a27d400b00777ac06ed91mr6766124qkp.23.1697991690683; Sun, 22 Oct 2023 09:21:30 -0700 (PDT) Received: from localhost ([2601:8c:502:14f0:d6de:9959:3c29:509b]) by smtp.gmail.com with ESMTPSA id x9-20020a05620a14a900b0076f1d8b1c2dsm2107244qkj.12.2023.10.22.09.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 09:21:30 -0700 (PDT) Date: Sun, 22 Oct 2023 12:21:29 -0400 From: Oliver Crumrine To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: davem@davemloft.n Subject: [PATCH net-next 15/17] Modify occurences of cork to make it a pointer Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Sun, 22 Oct 2023 09:22:20 -0700 (PDT) Update an occurence of ockr to make it a pointer, just like all the previous patches Signed-off-by: Oliver Crumrine --- net/ipv6/raw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 42fcec3ecf5e..3ef5a75dcb79 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@ -520,8 +520,8 @@ static int rawv6_push_pending_frames(struct sock *sk, struct flowi6 *fl6, goto out; offset = rp->offset; - total_len = inet_sk(sk)->cork.base.length; - opt = inet6_sk(sk)->cork.opt; + total_len = inet_sk(sk)->cork->base.length; + opt = inet6_sk(sk)->cork->opt; total_len -= opt ? opt->opt_flen : 0; if (offset >= total_len - 1) { -- 2.42.0