Date: Tue, 11 Feb 1997 08:00:03 -0800 (PST) From: Garrett Wollman <wollman@lcs.mit.edu> To: freebsd-bugs Subject: i386/2710: if_ppp LKM does not allow ppp line discipline to be set Message-ID: <199702111600.IAA01415@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/2710; it has been noted by GNATS. From: Garrett Wollman <wollman@lcs.mit.edu> To: pst@Shockwave.COM Cc: FreeBSD-gnats-submit@freebsd.org Subject: i386/2710: if_ppp LKM does not allow ppp line discipline to be set Date: Tue, 11 Feb 1997 10:59:24 -0500 <<On Tue, 11 Feb 1997 02:54:55 -0800 (PST), Paul Traina <pst@Shockwave.COM> said: > A quick perusal of the kernel source shows pppasyncattach appearing as > the argument to a PSEUDO_SET macro, but there are other attach routines > in if_ppp.c, so my totally unreasearched GUESS is that one of the other > PSEUDO_SET vectors is wiping out the first, or some such rot (sorry, I > didn't look). Aha. This is indeed erroneous. There can only be one entry point to an LKM, which means that there can only be one PSEUDO_SET per LKM (see /sys/sys/kernel.h under #ifdef PSEUDO_LKM). The ppp driver's attach routine needs to be written to perform ALL initialization at once. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, ANA, or NSA| - Susan Aglukark and Chad Irschick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702111600.IAA01415>