From nobody Fri Oct 27 20:19:45 2023 X-Original-To: dev-commits-src-main@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 4SHDXx3N1cz4yd0D; Fri, 27 Oct 2023 20:19:45 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SHDXx2bqGz4GMg; Fri, 27 Oct 2023 20:19:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698437985; 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=ZNXVOiUnqgnj3kVw6zkkKmZsy2G+mFBqZjWa349sfkY=; b=XJVfRmjS2DKLjrLsrJrxUoDV+/FPTqHbgCNSHBA8giwyIo2QlPMM/tyfSf1ReIT/nFWjG4 SykJQcgZvf8AsUt8nq+SsAEOibO6x4kCNModoWtBbxR+1WpVlk18cS/Fc8n+4fght/burR qDAxmUKyvPRHy7e7kWocdVZWHmvenJLTRkbu7s/imPOdQt42irnj/g6gLzOpGwzP1PZwyG +2P/jFxdi6h/NqrygL2+PVaecJnhfdPhTNiHz7eyFlFCeWk/hF8Yv4pECb7wvbEPMURQs9 svdKBrCe0Zyj/tquh8VDB55YH7k1FPNAEdPDjymYtomSCzgQbN9K7fGVi+NoYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698437985; 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=ZNXVOiUnqgnj3kVw6zkkKmZsy2G+mFBqZjWa349sfkY=; b=RKIJULaKQKUok9nxgpZCK3w4z9l9gbaV3epoMhJ0Jad7iu58pSpwGt/x4hs7G1vbKGJSk1 s55AIYRedvKIkmwJ0HmtEE57y8IfY6zA3lX0aqpzbbS028vOb/6Xu/BUp2g5mbYulHZ8Rn KgY+apLsTmqUWPsLEyE9EZ8Qc+ubl5PqSARxXD/t+2T5pUz2nvvfTsBqvrFGvy3KT0FpR1 9ORnlOUkL2aWx18kVKrkiETezGcpW+oDjupCjGlqMiItjKb9jwJHmThvtKJs26vNVQbq+P C2ZvXkMQbG9u83WO2frOsf281j3mO5XmrE9wC+XYWORKEN6l9DGyzDroha52aA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698437985; a=rsa-sha256; cv=none; b=fpW/JnY/vZKWeswF2kRSrgM3tRz5Q8KtjvaB//X0JTjLIl6r1cImagSWWytdjnJf+/oXqn NZXuuRfA9ApKaw9Ifs0MX+D8uIuQH2tZPvZzCJz0n9uxsfgmOAMp6XfTkmgRm9RSMGIaxs LV29lbjmGbaywy6LsJ1rycYOm86Ib9w+7PGKjIsZAaLgCymcS1CeSQrjA8WV4bCzh8aqYS euJYuvpCsdvrhnuZlFvDs+fNI8ZHwxxG8LU7/CL65KgSAcnKNtbCwO7TS2c4jK7dkMdatv YlUOQsnzy5YQoz5+Hz7rWWKp52JRQZgI70P+gN1TP6gZ7/L1Uyug2v+gIBjdsg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4SHDXx1gPwzCTC; Fri, 27 Oct 2023 20:19:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39RKJjVP061470; Fri, 27 Oct 2023 20:19:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39RKJjuT061467; Fri, 27 Oct 2023 20:19:45 GMT (envelope-from git) Date: Fri, 27 Oct 2023 20:19:45 GMT Message-Id: <202310272019.39RKJjuT061467@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 8c0955cbd902 - main - netgraph: Fix obsolete comment List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8c0955cbd902b8acea82838ab1b3b12422f207ff Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=8c0955cbd902b8acea82838ab1b3b12422f207ff commit 8c0955cbd902b8acea82838ab1b3b12422f207ff Author: Warner Losh AuthorDate: 2023-10-27 20:00:37 +0000 Commit: Warner Losh CommitDate: 2023-10-27 20:00:37 +0000 netgraph: Fix obsolete comment splnet is no more, adjust the comment. Sponsored by: Netflix --- sys/netgraph/ng_sample.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/sys/netgraph/ng_sample.c b/sys/netgraph/ng_sample.c index 54b7f2026fa1..6647247fc634 100644 --- a/sys/netgraph/ng_sample.c +++ b/sys/netgraph/ng_sample.c @@ -354,17 +354,8 @@ ng_xxx_rcvdata(hook_p hook, item_p item ) NG_FREE_M(m); return (ENETUNREACH); } - /* If we were called at splnet, use the following: - * NG_SEND_DATA_ONLY(error, otherhook, m); if this - * node is running at some SPL other than SPLNET - * then you should use instead: error = - * ng_queueit(otherhook, m, NULL); m = NULL; - * This queues the data using the standard NETISR - * system and schedules the data to be picked - * up again once the system has moved to SPLNET and - * the processing of the data can continue. After - * these are run 'm' should be considered - * as invalid and NG_SEND_DATA actually zaps them. */ + /* After this are run 'm' should be considered + * as invalid. */ NG_FWD_NEW_DATA(error, item, xxxp->channel[chan].hook, m); xxxp->packets_in++;