diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2004-06-25 21:11:14 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2004-06-25 21:11:14 +0000 |
| commit | 1cf3fa793411dea41de7c0eba0076bf18690edf8 (patch) | |
| tree | 64aaf07e387c6e0f8cc1eae22b2a1376c18d7014 /sys/netgraph/ng_sppp.c | |
| parent | 45671a9eb630eb723e1ca550984e3a05ba3fc094 (diff) | |
Notes
Diffstat (limited to 'sys/netgraph/ng_sppp.c')
| -rw-r--r-- | sys/netgraph/ng_sppp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netgraph/ng_sppp.c b/sys/netgraph/ng_sppp.c index 8461f8b8dde9..3f3c97fe85a9 100644 --- a/sys/netgraph/ng_sppp.c +++ b/sys/netgraph/ng_sppp.c @@ -382,8 +382,6 @@ ng_sppp_rcvdata (hook_p hook, item_p item) NG_FREE_ITEM (item); /* Sanity checks */ KASSERT (m->m_flags & M_PKTHDR, ("%s: not pkthdr", __func__)); - if (m == NULL) - return (EINVAL); if ((pp->pp_if.if_flags & IFF_UP) == 0) { NG_FREE_M (m); return (ENETDOWN); |
