bostic@OKEEFFE.BERKELEY.EDU.UUCP (05/12/87)
Subject: XNS driver can't handle PRC_QUENCH Index: sys/netns/spp_usrreq.c 4.3BSD Description: When an XNS error protocol packet number 3 is received, the routine spp_ctlinput does not initialize the ns_address variable called na. spp_ctlinput then calls ns_pcbnotify and passes in the uninitialized variable. This causes the kernel to crash. Error number 3 is called PRC_QUENCH in 4.3BSD and has the following descriptions in the XNS spec: "The destination cannot accept the packet due to resource limitations." It looks like 4.3BSD will have the same problem with PRC_ROUTDEAD messages. Repeat-By: Sending an error protocol packet number 3 to the 4.3 driver. Either one of the database machines made by Britton Lee, Inc. can be forced to send an error protocol packet. *** spp_usrreq.c.old Mon May 11 14:54:24 1987 --- spp_usrreq.c.new Mon May 11 15:00:14 1987 *************** *** 395,401 **** case PRC_ROUTEDEAD: case PRC_QUENCH: ! break; case PRC_IFDOWN: case PRC_HOSTDEAD: --- 395,401 ---- case PRC_ROUTEDEAD: case PRC_QUENCH: ! return; case PRC_IFDOWN: case PRC_HOSTDEAD: