Date: Thu, 13 Jul 2000 09:08:15 -0400 From: "Yevmenkin, Maksim N, CSCIO" <myevmenkin@att.com> To: "'freebsd-current@freebsd.org'" <freebsd-current@freebsd.org> Subject: possible NETGRAPH/NG_ETHER bug Message-ID: <E598F159668DD311B9C700902799EAF4473459@njb140po01.ems.att.com>
next in thread | raw e-mail | index | archive | help
Hello All, i was working on integration of Ethernet TAP driver and NETGRAPH and found strange thing. the problem is that NG_ETHER nodes do not detach correctly when interface is gone. i was taking a very quick look at it, and, it seems to me that we are missing one reference to a node. i think it is ng_name_node/ng_unname pair. quick patch (works for NG_ETHER, but i did not have time to look at all NG_XXXX modules) available at http://home.earthlink.net/~evmax/ng_ether-diffs.tar.gz this problem could, possibly, affect other modules. after patch i was able to: - load Ethernet TAP driver - create several virtual Ethernet interfaces - load NG_ETHER module (and check nodes via ngctl) - unload Ethernet TAP driver (all virtual Ethernet interfaces are gone) - check that all NG_ETHER nodes are gone (via ngctl) - unload NG_ETHER module Thanks, emax To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E598F159668DD311B9C700902799EAF4473459>