Article View: comp.bugs.2bsd
Article #146Re: rlogin problem between Sun 3.2 and 2.9 BSD
From: abe
Date: Thu, 26 Feb 1987 21:18
Date: Thu, 26 Feb 1987 21:18
25 lines
1292 bytes
1292 bytes
In article <162@lamont.UUCP>, rbd@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@j.cc.purdue.edu
j.cc.purdue.edu!abe
Technical Details
Message-ID:
<3383@j.cc.purdue.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!inuxc!pur-ee!j.cc.purdue.edu!abeReferences:
<162@lamont.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!inuxc!pur-ee!j.cc.purdue.edu!abe From: abe@j.cc.purdue.edu.UUCP Newsgroups: comp.bugs.2bsd Subject: Re: rlogin problem between Sun 3.2 and 2.9 BSD Message-ID: <3383@j.cc.purdue.edu> Date: Thu, 26-Feb-87 16:18:50 EST Article-I.D.: j.3383 Posted: Thu Feb 26 16:18:50 1987 Date-Received: Sat, 28-Feb-87 07:59:54 EST References: <162@lamont.UUCP> Organization: Purdue University Computing Center Lines: 25 Summary: rlogin to 2.9 causes dtom panic