Message ID | 20240405111025.26478-10-newtwen+github@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=WLUypksm; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=hb2NFdkB; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V9wmr6Dlyz1yZM for <incoming@patchwork.ozlabs.org>; Fri, 5 Apr 2024 22:12:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=elfPxhOQ0l0wmk14wktdmsBzz2lzDeddRqjczVddNJk=; b=WLUypksmq3C0qD GZPgQJJ1ewdPV+A1L+0AjHUMIW10BtOkx0e8J3gJu7ON6WSVT6FDSy0anwDXME+oRMK3nU87K/kBJ InHbUiNG5aTMp7Ok0Aw6+LKmk4Qzz6d4ptzV57JNLiBaw7jGn80zqVUI6N+siYv56lvTxHhLSNoZA cFG7b1R77fYwfXRPj8qlEc18nwEj1PRZLbhp1dw7ltPq9xfR/mAbbNJiXfkYv9zH781pzycK66k/b PlqcpWqzSWRDd6jnzqver1XttRUnL1kcU86u9TZtllmDS4PM/cki6I6s2KKgm5ky5sa6mSV09wNO6 rUAJ1wwkgE0bKSZ2DSfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rshTL-00000006bve-0HCl; Fri, 05 Apr 2024 11:11:03 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rshSu-00000006bhC-2L8j for openwrt-devel@lists.openwrt.org; Fri, 05 Apr 2024 11:10:38 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-516c403c2e4so1960869e87.0 for <openwrt-devel@lists.openwrt.org>; Fri, 05 Apr 2024 04:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712315433; x=1712920233; darn=lists.openwrt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=0BQFOse7RJd7FRhyrmevYhgxSMd7/ErH/FyPhyosiU0=; b=hb2NFdkBInEDe39bIGb8+p4Dn9KZhLO9n6L5fvcYXeAyd100IP0MsBMGMgSDxun8D3 dFmn4YgPqMzK1W6z7Ls634qhlL5xG+30gPXvN++ThOVv3GSszzR3/oTnNkemhfVHDb3t sffWC/03fQptyBRVGcm/2/DfhbyoOZLbllGK/r6jBJtP4M4VNu3rCIQerfsqOIIR5R8H 4AeQL3/f2iAv8e4sYQzILr1VUgYa2yA4kk2vjLI6TVVy5Ck87+qUme6U70lIi5fE8RCl zhbB145rP5ym9bQukknmmUSYZFO0kURiIQ81RMbQiLnd4hr7mxp4yssG3PA1IsoT47UF 1V0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712315433; x=1712920233; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=0BQFOse7RJd7FRhyrmevYhgxSMd7/ErH/FyPhyosiU0=; b=gR1w3w8QweyoFM0FTJ8mJ/HwSOs7Eut4dturz3FFVwH2PAIrjKZeGHqTplvXBi67qN +RdxSpyRNs9D2W5FLI/mbLO1kl7NWmtIEraHJ2/BWPHerhKpqjeTcBZrySesf6bT1Q2J swV8ih8StrgEO4TR+HGjr+2nrYjU51jpeh/JKCs34mdHSpOddndRClX3Jw6T5UQyyOzM ND/2xyf2JkQxZXTo8wIFRIKX/iBY4umWPbQPbhRmUwK2YOfGTOlRx7ALntUUMdZE0T2g 6vhNrElm6t47aNONka8gx6eEATWp1zycic36WXmNUVYF6KK5z7wQdL9nDXMVttfblUam iA/A== X-Gm-Message-State: AOJu0YyOsT2kvx3Zj5rW9VnilCs5cIzkkXQNz2hZzOy7vQQpGqdkImXt dQd7c7oIBDomNCgHRIb9Gc/P4Tmujsk9LFWvGQ/1TDn8O0VTiNkOi3bbF/tpHbMrew== X-Google-Smtp-Source: AGHT+IE0GdczXfstEi+yAd35IJUHh6MjW1oPGvCRStkCJta/cFHA5ioncXq9z7LeTqIv4TfA1IoZRA== X-Received: by 2002:a19:a416:0:b0:513:c47e:d811 with SMTP id q22-20020a19a416000000b00513c47ed811mr427767lfc.33.1712315433408; Fri, 05 Apr 2024 04:10:33 -0700 (PDT) Received: from blackhol3 ([2001:9b0:40::cae3:cb03]) by smtp.gmail.com with ESMTPSA id g21-20020ac24d95000000b00516cdadf377sm163719lfe.137.2024.04.05.04.10.32 for <openwrt-devel@lists.openwrt.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 04:10:32 -0700 (PDT) From: Paul Donald <newtwen+github@gmail.com> To: OpenWrt Development List <openwrt-devel@lists.openwrt.org> Subject: [PATCH v2 9/9] ndp: Comments (spelling) Date: Fri, 5 Apr 2024 13:06:53 +0200 Message-ID: <20240405111025.26478-10-newtwen+github@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240405111025.26478-1-newtwen+github@gmail.com> References: <20240405005510.19778-1-newtwen+github@gmail.com> <20240405111025.26478-1-newtwen+github@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_041036_776201_D427360C X-CRM114-Status: GOOD ( 10.84 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Paul Donald Signed-off-by: Paul Donald Reviewed-by: Daniel Golle --- src/ndp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ndp.c b/src/ndp.c index dfbb111..0ec6fed 100644 --- a/src/ndp.c +++ b/src/ndp.c @@ -39,7 +39,7 @@ static void setup_addr_for_relaying(struct in6_addr *addr, struct interface *ifa stat [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:132 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [newtwen+github(at)gmail.com] X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
odhcpd patchset
|
expand
|
diff --git a/src/ndp.c b/src/ndp.c index dfbb111..0ec6fed 100644 --- a/src/ndp.c +++ b/src/ndp.c @@ -39,7 +39,7 @@ static void setup_addr_for_relaying(struct in6_addr *addr, struct interface *ifa static void handle_solicit(void *addr, void *data, size_t len, struct interface *iface, void *dest); -/* Filter ICMPv6 messages of type neighbor soliciation */ +/* Filter ICMPv6 messages of type neighbor solicitation */ static struct sock_filter bpf[] = { BPF_STMT(BPF_LD | BPF_B | BPF_ABS, offsetof(struct ip6_hdr, ip6_nxt)), BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, IPPROTO_ICMPV6, 0, 3), @@ -343,7 +343,7 @@ static void handle_solicit(void *addr, void *data, size_t len, return; if (len < sizeof(*ip6) + sizeof(*req)) - return; // Invalid reqicitation + return; // Invalid total length if (IN6_IS_ADDR_LINKLOCAL(&req->nd_ns_target) || IN6_IS_ADDR_LOOPBACK(&req->nd_ns_target) ||