git: 8c0955cbd902 - main - netgraph: Fix obsolete comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Oct 2023 20:19:45 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=8c0955cbd902b8acea82838ab1b3b12422f207ff
commit 8c0955cbd902b8acea82838ab1b3b12422f207ff
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-10-27 20:00:37 +0000
Commit: Warner Losh <imp@FreeBSD.org>
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++;