[Vtun-Commit] CVS: The file 'tun/solaris/tun.c' has been modified.
Status: Inactive
Brought to you by:
mtbishop
From: Bishop <mtb...@us...> - 2005-03-14 06:44:24
|
The following file was modified in tun/solaris: Name Old version New version Comment ---- ----------- ----------- ------- tun.c 1.13 1.14=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Hans-Dieter Schuster (hd-...@us...) Solaris tun.c fixes: - The TUN driver for Solaris didn't work in 64bit mode ... fixed. - Fixed a PANIC in tun_detach_req(): the ppa may already be NULL when the controlling STREAM was closed. The diff of the modified file(s): --- tun.c 6 Sep 2001 19:46:39 -0000 1.13 +++ tun.c 14 Mar 2005 06:44:14 -0000 1.14 @@ -589,11 +589,13 @@ return; } =20 + if (ppa !=3D NULL) { /* Unlink from PPA list */ for(prev =3D &ppa->p_str; (tmp =3D *prev); prev =3D &tmp->p_next) if( tmp =3D=3D str ) break; *prev =3D tmp->p_next; DBG(CE_CONT,"tun: str %p detached from PPA %p\n", str, ppa); + } =20 str->ppa =3D NULL; str->state =3D DL_UNATTACHED; |