diff options
author | julian <julian@FreeBSD.org> | 2002-06-09 07:28:35 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2002-06-09 07:28:35 +0000 |
commit | 3f3974166bd2a4b9628023ef889e0c4f31aa10a7 (patch) | |
tree | f27966cb709a8073ea2d672a20fac51686696304 /sys/netgraph/ng_ppp.c | |
parent | 3eeaf63c365253213805b6eb7c4f5484e6d64432 (diff) | |
download | FreeBSD-src-3f3974166bd2a4b9628023ef889e0c4f31aa10a7.zip FreeBSD-src-3f3974166bd2a4b9628023ef889e0c4f31aa10a7.tar.gz |
if you have taken the mbuf out of the message object, then if you pass
the object to someone else, you need to put the mbuf back into it first..
Diffstat (limited to 'sys/netgraph/ng_ppp.c')
-rw-r--r-- | sys/netgraph/ng_ppp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netgraph/ng_ppp.c b/sys/netgraph/ng_ppp.c index 7c435a8..d723b32 100644 --- a/sys/netgraph/ng_ppp.c +++ b/sys/netgraph/ng_ppp.c @@ -906,8 +906,10 @@ ng_ppp_input(node_p node, int bypass, int linkNum, item_p item) break; case PROT_MP: if (priv->conf.enableMultilink - && linkNum != NG_PPP_BUNDLE_LINKNUM) + && linkNum != NG_PPP_BUNDLE_LINKNUM) { + NGI_M(item) = m; return ng_ppp_mp_input(node, linkNum, item); + } break; case PROT_APPLETALK: if (priv->conf.enableAtalk) |