diff options
author | julian <julian@FreeBSD.org> | 2004-06-25 21:11:14 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2004-06-25 21:11:14 +0000 |
commit | cf606d5f29ba03ae7d84a2c5e7458dbfb7db2d36 (patch) | |
tree | 64aaf07e387c6e0f8cc1eae22b2a1376c18d7014 /sys/netgraph/ng_eiface.c | |
parent | 2cf7db632c6326199a2eec3a4d6b3ee8f4acac92 (diff) | |
download | FreeBSD-src-cf606d5f29ba03ae7d84a2c5e7458dbfb7db2d36.zip FreeBSD-src-cf606d5f29ba03ae7d84a2c5e7458dbfb7db2d36.tar.gz |
Make the frameworkl responsible for not passing the nodes a NULL mbuf pointer.
this allows the nodes to not test for this..
Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
Diffstat (limited to 'sys/netgraph/ng_eiface.c')
-rw-r--r-- | sys/netgraph/ng_eiface.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/netgraph/ng_eiface.c b/sys/netgraph/ng_eiface.c index 5df3457..aad1365 100644 --- a/sys/netgraph/ng_eiface.c +++ b/sys/netgraph/ng_eiface.c @@ -587,11 +587,6 @@ ng_eiface_rcvdata(hook_p hook, item_p item) /* Meta-data ends its life here... */ NG_FREE_ITEM(item); - if (m == NULL) - { - printf("ng_eiface: mbuf is null.\n"); - return (EINVAL); - } if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING)) { NG_FREE_M(m); return (ENETDOWN); |