Date: Fri, 15 May 1998 11:21:51 -0700 (PDT) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp bundle.c datalink.c datalink.h main.c mp.c physical.c physical.h Message-ID: <199805151821.LAA11710@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1998/05/15 11:21:51 PDT
Modified files: (Branch: MP)
usr.sbin/ppp bundle.c datalink.c datalink.h main.c
mp.c physical.c physical.h
Log:
o Call bundle_LinkClosed() when transferring a datalink so that
the bundle has the opportunity to go PHASE_DEAD and cleanup
the interface (if it's the last link).
o Regnerate our phys_type value when we transfer the link.
o Always clean up the interface when destroying our bundle in case
we're abending.
o Always clean up our interface when the last link is gone rather than
delaying things 'till exit time in the -direct case (the interface
is useless anyway). Do this *after* slamming down our NCPs (if
they're still around).
o Our MP server descriptor now clears the relevent device descriptor
from our descriptor [fd]sets when a datalink is on death-row (to
be transferred to another running ppp), thus avoiding the possibility
of passing a bum descriptor to select() and having ppp abend.
o Handle the MP socket descriptor functions from within the bundle
descriptor functions. Now we ensure that the MP socket descriptor
functions see the descriptor sets *after* they've been seen by our
datalinks.
o Add/fix a few more comments.
Revision Changes Path
1.1.2.83 +33 -10 src/usr.sbin/ppp/Attic/bundle.c
1.1.2.61 +8 -5 src/usr.sbin/ppp/Attic/datalink.c
1.1.2.24 +3 -1 src/usr.sbin/ppp/Attic/datalink.h
1.121.2.60 +1 -6 src/usr.sbin/ppp/main.c
1.1.2.29 +5 -2 src/usr.sbin/ppp/Attic/mp.c
1.1.2.32 +28 -1 src/usr.sbin/ppp/Attic/physical.c
1.1.2.25 +3 -1 src/usr.sbin/ppp/Attic/physical.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805151821.LAA11710>
