diff --git a/sys/netgraph/ng_tee.c b/sys/netgraph/ng_tee.c index 1eb1ce20f6be..fbce9b87f46a 100644 --- a/sys/netgraph/ng_tee.c +++ b/sys/netgraph/ng_tee.c @@ -329,7 +329,7 @@ ngt_rcvdata(hook_p hook, item_p item) } /* Duplicate packet and meta info if requried */ - if (dup != NULL) { + if (dup && dup->hook) { struct mbuf *m2; meta_p meta2;