Patch-ID# 105322-01 Keywords: ifconfig ping panic kmem_free Synopsis: Trusted Solaris 1.2: panic "kmem_free" after using "ifconfig" Date: Sep/23/97 Revision: @(#)README 1.6 97/09/23 Solaris Release: Trusted Solaris 1.2 SunOS Release: Unbundled Product: Unbundled Release: Relevant Architectures: sun4 sun4c sun4m BugId's fixed with this patch: 4059648 Changes incorporated in this version: Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: README - This file. install_patch - Script to install the appropriate patch components for the machine on which it is run. nis_master..tar.Z - Patches for NIS master machines for each supported architecture. nis_client..tar.Z - Patches for NIS client machines for each supported architecture. diskless..tar.Z - Patches for diskless machines for each supported architecture. Problem Description: THIS PATCH DOES NOT APPLY TO 4.1.1, 4.1.2, 4.1.3, 4.1.3_U1, CMW 1.0, OR TRUSTED SOLARIS 1.1 SYSTEMS. This patch contains a fix for the following bug(s): Note: In the following lists of files, the export/exec path prefix is used to load files into the appropriate places on the machine. For example, export/exec/kvm/ is used to refer to /usr/kvm on a machine where is the native architecture. Bug: 4059648 Desc: panic "kmem_free" after bringing interface down (via ifconfig) then back up, and then pinging from second host. Panic was occuring on call to "kmem_free" on the "if_sec->accred" field of the interface to be brought down in "if_down()". The parent "if_sec" field was then free'd, without setting the field to NULL, leaving a dangling pointer. (Esc. 510153)x Files: export/exec/kvm/sun4/sys/sun4/OBJ/tnd_ioctls.o export/exec/kvm/sun4/sys/sun4/OBJ/sec_tnet.o export/exec/kvm/sun4/sys/sun4/OBJ/if.o export/exec/kvm/sun4c/sys/sun4c/OBJ/tnd_ioctls.o export/exec/kvm/sun4c/sys/sun4c/OBJ/sec_tnet.o export/exec/kvm/sun4c/sys/sun4c/OBJ/if.o export/exec/kvm/sun4m/sys/sun4m/OBJ/tnd_ioctls.o export/exec/kvm/sun4m/sys/sun4m/OBJ/sec_tnet.o export/exec/kvm/sun4m/sys/sun4m/OBJ/if.o Patch Installation Instructions: 1. Boot the machine single user, clean the disks, and start a csh(1). > b -s or ok boot -s # fsck -f -p # exec csh # source /.cshrc # source /.login 2. Load this patch in a location that has disk space. This example assumes that /var is a separate partition and that the patch is delivered on tape. # mount /var # cd /var # mkdir -p patches/ # cd patches/ # tar xvf /dev/rst0 3. Install the patch and check the "log" for errors. # ./install_patch |& tee log # vi log 3a. This patch contains changes to the machine's kernel. In order for the changes to take effect, the kernel must be reconfigured. To reconfigure the kernel, follow the procedure in the README file, located in the /export/exec/kvm//sys//conf directory for each architecture. 4. Reboot the machine. # cd / # umount -at cfs # sync; sync; sync; reboot