summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_base.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-06-26 01:22:29 +0000
committerjulian <julian@FreeBSD.org>2004-06-26 01:22:29 +0000
commit8377dc9ec1cb240e1f7b8ea45e5297628a37a922 (patch)
treeb93879407e3a114cc1940da9b52be08b9744c5ce /sys/netgraph/ng_base.c
parenta9f3927ec8d21dcaf4867f5a4781d8d7e2ab27c0 (diff)
downloadFreeBSD-src-8377dc9ec1cb240e1f7b8ea45e5297628a37a922.zip
FreeBSD-src-8377dc9ec1cb240e1f7b8ea45e5297628a37a922.tar.gz
Not quite sure how that one got past me..
Diffstat (limited to 'sys/netgraph/ng_base.c')
-rw-r--r--sys/netgraph/ng_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 0616176..744972d 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -2143,7 +2143,7 @@ ng_snd_item(item_p item, int queue)
/* Protect nodes from sending NULL pointers
* to each other
*/
- if (m == NULL)
+ if (NGI_M(item) == NULL)
return (EINVAL);
CHECK_DATA_MBUF(NGI_M(item));
OpenPOWER on IntegriCloud