rlogin problem between Sun 3.2 and 2.9 BSD
abe at j.cc.purdue.edu.UUCP
abe at j.cc.purdue.edu.UUCP
Fri Feb 27 07:18:50 AEST 1987
In article <162 at lamont.UUCP>, rbd at lamont.UUCP (Roger Davis) writes:
>
> ii) Attempting to rlogin from the PDP to a Sun
> crashes the PDP about 75% of the time with a
> "panic: dtom" message, and
> succeeds the other 25% of the time.
There is a simple fix to sohasoutofband() in sys/socket.c that will
prevent one kind of dtom panic:
sohasoutofband(so)
struct socket *so;
{
mapinfo map;
wrong! savemap(map);
if (so->so_pgrp == 0)
return;
right! savemap(map);
Remove the savemap(map) call before the if/return and place it after them.
That removes the possibility of an unbalanced savemap/restoremap pair.
Vic Abell, abe at j.cc.purdue.edu
j.cc.purdue.edu!abe
More information about the Comp.bugs.2bsd
mailing list