Deleted Added
full compact
39c39
< * $FreeBSD: head/sys/netgraph/ng_sample.c 129823 2004-05-29 00:51:19Z julian $
---
> * $FreeBSD: head/sys/netgraph/ng_sample.c 131155 2004-06-26 22:24:16Z julian $
313,314c313,314
< * If we free the item it wil also froo the data and metadata unless
< * we have previously disassociated them using the NGI_GET_xxx() macros.
---
> * If we free the item it will also free the data unless we have
> * previously disassociated it using the NGI_GET_M() macro.
317,318c317,318
< * hooks. the caller will never free m or meta, so
< * if we use up this data or abort we must free BOTH of these.
---
> * hooks. The caller will never free m, so if we use up this data or
> * abort we must free it.
361c361
< * NG_SEND_DATA(error, otherhook, m, meta); if this
---
> * NG_SEND_DATA_ONLY(error, otherhook, m); if this
364,366c364,366
< * ng_queueit(otherhook, m, meta); m = NULL: meta =
< * NULL; this queues the data using the standard
< * NETISR system and schedules the data to be picked
---
> * ng_queueit(otherhook, m, NULL); m = NULL;
> * This queues the data using the standard NETISR
> * system and schedules the data to be picked
368,369c368,369
< * the processing of the data can continue. after
< * these are run 'm' and 'meta' should be considered
---
> * the processing of the data can continue. After
> * these are run 'm' should be considered