OBSOLETE Patch-ID# 101790-01 Keywords: getsockopt RESET trap mbuf leak bus panic TCP Synopsis: OBSOLETED by 102010 Date: Sep/06/94 Solaris release: 1.1.1 SunOS release: 4.1.3_U1 Xref: See patch 100804 for the 4.1.3 version. Unbundled Product: Unbundled Release: BugId's fixed with this patch: 1097784 1077939 1062394 Changes incorporated in this version: 1077939 1062394 Architectures for which this patch is available: sun4 sun4c sun4m Patches accumulated and obsoleted by this patch: Patches which may conflict with this patch: Obsoleted by: 102010 Files included with this patch: ip_output.o tcp_usrreq.o Problem Description: (-01) 1097784 TCP "reset"s can cause an mbuf leak, resulting in mbuf map full (-02) 1077939 If an application does a getsockopt() on a SOCK_STREAM (TCP) socket after the other side of the connection has sent a TCP RESET for the stream, the kernel gets a Bus Trap in the tcp_ctloutput() or ip_ctloutput() routine. 1062394 A TCP RESET will be sent if the application does a write() to the socket after the other side of the connection has closed the socket (causing the remote end to be in FIN_WAIT_2 state, and the local end to be in CLOSE_WAIT state). (-03) Previous revision was generated incorrectly for sun4m architectures. Install Instructions: As root, make a backup copy of files to be patched: mv /sys/`arch -k`/OBJ/tcp_usrreq.o /sys/`arch -k`/OBJ/tcp_usrreq.o.FCS mv /sys/`arch -k`/OBJ/ip_output.o /sys/`arch -k`/OBJ/ip_output.o.FCS Now, install the patched files and set premissions: cp `arch -k`/{OS level}/tcp_usrreq.o /sys/`arch -k`/OBJ cp `arch -k`/{OS level}/ip_output.o /sys/`arch -k`/OBJ chmod 444 /sys/`arch -k`/OBJ/tcp_usrreq.o chmod 444 /sys/`arch -k`/OBJ/ip_output.o Rebuild the new kernel. Please refer to the system and networking administration manual for details on building and installing a new kernel.