From 2d1192e61200eb8fc54319899e014acefd14ae74 Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 12 Dec 2000 18:52:14 +0000 Subject: Reviewed by: Archie@freebsd.org This clears out my outstanding netgraph changes. There is a netgraph change of design in the offing and this is to some extent a superset of soem of the new functionality and some of the old functionality that may be removed. This code works as before, but allows some new features that I want to work with and evaluate. It is the basis for a version of netgraph with integral locking for SMP use. This is running on my test machine with no new problems :-) --- sys/netgraph/ng_hole.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/netgraph/ng_hole.c') diff --git a/sys/netgraph/ng_hole.c b/sys/netgraph/ng_hole.c index 3c538f9..43ed1f2 100644 --- a/sys/netgraph/ng_hole.c +++ b/sys/netgraph/ng_hole.c @@ -67,7 +67,6 @@ static struct ng_type typestruct = { NULL, NULL, ngh_rcvdata, - ngh_rcvdata, ngh_disconnect, NULL }; @@ -78,7 +77,7 @@ NETGRAPH_INIT(hole, &typestruct); */ static int ngh_rcvdata(hook_p hook, struct mbuf *m, meta_p meta, - struct mbuf **ret_m, meta_p *ret_meta) + struct mbuf **ret_m, meta_p *ret_meta, struct ng_mesg **resp) { NG_FREE_DATA(m, meta); return 0; -- cgit v1.1