aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-10-27 20:00:37 +0000
committerWarner Losh <imp@FreeBSD.org>2023-10-27 20:00:37 +0000
commit8c0955cbd902b8acea82838ab1b3b12422f207ff (patch)
tree098bc75dcb67656986c772246d6d2b6b699a860f
parent314542de6d0a044640d349d68b2d1a1fe5f427ff (diff)
netgraph: Fix obsolete comment
splnet is no more, adjust the comment. Sponsored by: Netflix
-rw-r--r--sys/netgraph/ng_sample.c13
1 files 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++;