🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Vic Abell Fri, 10 Oct 1986 20:28
2.9BSD network fix for dtom panic
#332
Author: 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);
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads