🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.2bsd
Article #332

2.9BSD network fix for dtom panic

#332
From: Vic Abell
Date: Fri, 10 Oct 1986 20:28
31 lines
1289 bytes
Here is a fix to socket.c that will prevent a dtom panic.  The old code
created a savemap() that was not matched with a restormap().  The result
was an expected value in KDSA5 when tested in tcp_pulloutofband() in
tcp_input.c.

Vic Abell, Purdue University Computing Center


=====================================
fix to socket.c to prevent dtom panic
=====================================

----- old -----------------------------------
		sohasoutofband(so)
			struct socket *so;
		{
			mapinfo map;

wrong! =========>	savemap(map);
			if (so->so_pgrp == 0)
				return;

----- new -----------------------------------
		sohasoutofband(so)
			struct socket *so;
		{
			mapinfo map;

			if (so->so_pgrp == 0)
				return;
correct! =======>	savemap(map);
Technical Details
Message-ID: <2252@j.cc.purdue.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!cmcl2!husc6!uwvax!rutgers!caip!clyde!cbatt!ihnp4!inuxc!pur-ee!j.cc.purdue.edu!abe

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!cmcl2!husc6!uwvax!rutgers!caip!clyde!cbatt!ihnp4!inuxc!pur-ee!j.cc.purdue.edu!abe
From: abe@j.cc.purdue.edu (Vic Abell)
Newsgroups: net.bugs.2bsd
Subject: 2.9BSD network fix for dtom panic
Message-ID: <2252@j.cc.purdue.edu>
Date: Fri, 10-Oct-86 16:28:30 EDT
Article-I.D.: j.2252
Posted: Fri Oct 10 16:28:30 1986
Date-Received: Sat, 11-Oct-86 21:00:27 EDT
Organization: Purdue University Computing Center
Lines: 31