diff options
author | julian <julian@FreeBSD.org> | 2004-06-26 22:24:16 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2004-06-26 22:24:16 +0000 |
commit | 5a269c8a7e26638b8f896d1601618e5253776958 (patch) | |
tree | 5db990cf15727892f404908f26b492b9f1b8a509 /sys/netgraph/ng_iface.c | |
parent | cb255821c823542b64070fb2864196922202a027 (diff) | |
download | FreeBSD-src-5a269c8a7e26638b8f896d1601618e5253776958.zip FreeBSD-src-5a269c8a7e26638b8f896d1601618e5253776958.tar.gz |
Having moved metadata usage to mbuf tags, remove code that supports
the old way of doing it.
Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
Diffstat (limited to 'sys/netgraph/ng_iface.c')
-rw-r--r-- | sys/netgraph/ng_iface.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netgraph/ng_iface.c b/sys/netgraph/ng_iface.c index c25477a..c200191 100644 --- a/sys/netgraph/ng_iface.c +++ b/sys/netgraph/ng_iface.c @@ -428,7 +428,6 @@ ng_iface_output(struct ifnet *ifp, struct mbuf *m, { const priv_p priv = (priv_p) ifp->if_softc; const iffam_p iffam = get_iffam_from_af(dst->sa_family); - meta_p meta = NULL; int len, error = 0; /* Check interface flags */ @@ -462,7 +461,7 @@ ng_iface_output(struct ifnet *ifp, struct mbuf *m, len = m->m_pkthdr.len; /* Send packet; if hook is not connected, mbuf will get freed. */ - NG_SEND_DATA(error, *get_hook_from_iffam(priv, iffam), m, meta); + NG_SEND_DATA_ONLY(error, *get_hook_from_iffam(priv, iffam), m); /* Update stats */ if (error == 0) { |