Patch-ID# 102146-07 Keywords: sna p2p jumbo appc cpic allocate cnos mode memory dependent Synopsis: Sunlink SNA P2P 8.0: Jumbo patch Date: Jan/30/97 Solaris Release: 2.x SunOS Release: 5.x Unbundled Product: Sunlink SNA P2P Unbundled Release: 8.0 Relevant Architectures: sparc BugId's fixed with this patch: 1087789 1100104 1153228 1164044 1170740 1174034 1174360 1175264 1177088 1177234 1180403 1183019 1189529 1205986 1208989 1212963 1219678 1235527 1243294 Changes incorporated in this version: 1243293 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: 102147 : SDLC and snacommd patch. 102229 : LLC2 patch for IBM products. (Needed only if using LLC2.) 101306 : Ethernet driver patch (Needed only if using LLC2 over ethernet or FDDI.) Obsoleted by: Files included with this patch: SUNWconn/snap2p/p2p_etc/bin/appc SUNWconn/snap2p/p2p_etc/bin/appconf SUNWconn/snap2p/p2p_etc/bin/db_msg SUNWconn/snap2p/p2p_etc/bin/ftp62 SUNWconn/snap2p/p2p_etc/bin/ftp62_paral SUNWconn/snap2p/p2p_etc/bin/ftp_server SUNWconn/snap2p/p2p_etc/bin/ftp_server_paral SUNWconn/snap2p/p2p_etc/bin/p2pconf SUNWconn/snap2p/p2p_etc/bin/p2pconv SUNWconn/snap2p/p2p_etc/bin/p2pstat SUNWconn/snap2p/p2p_etc/bin/startp2p SUNWconn/snap2p/p2p_etc/bin/test_drive SUNWconn/snap2p/p2p_etc/bin/test_p2p SUNWconn/snap2p/p2p_lib/lib/libappc_api.a SUNWconn/snap2p/p2p_lib/lib/libcpic.a SUNWconn/snap2p/p2p_lib/lib/libcpic_db.a SUNWconn/snap2p/p2p_etc/bin/APING/aping SUNWconn/snap2p/p2p_etc/bin/APING/apingd SUNWconn/snap2p/p2p_etc/bin/AREXEC/arexec SUNWconn/snap2p/p2p_etc/bin/AREXEC/arexecd SUNWconn/snap2p/p2p_etc/bin/ATELL/atell SUNWconn/snap2p/p2p_etc/bin/ATELL/atelld SUNWconn/snap2p/p2p_etc/src/cnos.c SUNWconn/snap2p/p2p_etc/src/p2pconv.c SUNWconn/snap2p/p2p_etc/src/test_p2p.c SUNWconn/snap2p/p2p_etc/src/tp_echo.c SUNWconn/snap2p/p2p_etc/src/tp_parent.c SUNWconn/snap2p/p2p_lib/include/cpic.h SUNWconn/snap2p/p2p_lib/include/cpic_proto.h Problem Description: (Rev 07) bug 1243293: Gateway will not connect to the host after host reset. other changes: Send a postive response to sscp_lu fmd. Non-activation xid problem Autoactivation when conwinner is 0. Appc core dump when link is reset. (Rev 06) bug 1235527: added code to handle xid error(vector 22) other changes: Only free the current rcb when free the session. Do not set sense code 200f on the response so we do not unbind the session. Free the same tpcb more than once when tp terminated and cause appc coredump. CMEPLN does not return a correct partner lu name. CMALLC will usr the new partner and mode name set by CMSMN and CMSPLN. CPIC will issue a deallocate local when receives a deallocate from remote. CPIC free conv_id when session is deallocated. Ignored incomming test and xid that is not from remote address defined in config file (Rev 05) bug 1205986: Reset block_number and id_number to original values after the link station role has been negotiated. bug 1208989: Clear pending bid rcb in tp_end that caused mc_allocate to hang. bug 1212963: Memory growing problem. bug 1219678: Patch 102146-04 no longer allows dependent LU to connect to host. other changes: Return BAD_MODE_NAME from test_and_set_proc() if appc can not find the specified mode_name. Sequence number in TH should be defined as unsigned short. Accept ACTLU from host even if LU is defined as an independent LU. appc would core dump when it received a response with FI=1 and no RU. p2pconf displays wrong values of define_dlc parameters. (Rev 04) bug 1189529: Wrong oaf/daf in the negative BIND response. other changes: Added subtype SUB_WITHIN_SESSION_LIMIT for allocate verb. Ignored an unknown user data field and set reserved bit to zero in BIND response. lu_session_limit=0 is no session limit in DEFINE_LOCAL_LU. Appc hangs when it receives an IPR in the middle of segment. Added return code CM_UNSUCCESSFUL when CMALLOC with CM_IMMEDIATE failed to get a session and not to change the state. Do not count CNOS session for session_count for display_local_lu verb. Appc did not send an internal ACTLU to a independent LU if no XID exchange before link is active. Send a CNOS request to reset session limit when TP starts a conversation after session limit has been set to 0 by a CNOS request. Reset negative response owed flag when a new conversation starts. Fixed the problem that TP hangs when gateway receives an Unbind request after it sends a CNOS request to the remote. Do not set error return code if no verb is outstanding. This may cause gateway core dump. Initialize fd = -1 and check fd = -1 as no connection. (Rev 03) 1183019: host sends Unbind after positive response to prepare_to_receive_long. other changes: fixed copying the mode name from CNOS command. fixed receiving CNOS request in chaining. Fixed scan lulucb problem that may cause core dump or other problem when link reconnects. Do not set rcb to NULL in scb if it does not match rcb in DEALLOCATE verb. This problem may cause TP to hang or loop in receive verb and no one can use this session anymore. CMSEND should not check first two bytes of data as length, it can be part of logical record. security_same and security_pgm should be downgraded to security_none if remote LU does not accept any security info. security_same should be downgraded security_none if remote LU does not accept alraedy_verified. (Rev 02) 1087789: appc_test verb does not check for invalid SUB_TYPE. 1153228: appc accepts a session without security user id. 1170740: XID failed to request ACTPU when gateway defines a dependent LU. 1174034: appc generates an invalid XID if gateway does not define id_number or block_number after role_type. 1100104: test_p2p bug: mc_receive_and_wait_proc is not handled properly. 1164044: p2pconv fails to correctly convert config file for remote_mac_address. 1175264: execlp() returns EFAULT when license manager is running. 1180403: Two-way simultaneous mode of SDLC is not supported. Therefore, the tx_rx_capability parameter of the p2pconf file must always be set to alternating. A change was made to always set this option to alternating in the XID. other changes: INET_READ_FAIL return code from SEND_DATA and DEALLOCATE. Return an ALLOCTION_FAILURE_NO_RETRY error code to tp when FMH5 is rejected. Set default value for window size and rcv_iframe_size. Using data area for env gateway and tp_name for fork_tp. Incorrect node_id in nonactivation xid. xtwait paramter does not work properly. Added #define cmspln CMSPLN. Support blank sym_dest_name for CMINIT. Fixed cminit-cmallc-cmsend-...-cmsend-cmdeal loop problem. Added EBCDIC tp_name in side_info file. The format is x'hhhhhh'. Fixed getting an invalid tp_name in CMINIT. Do not print trace headline if trace is set to DB_DISABLE. Fixed send negative LUSTAT response problem. Free rcb when TP name not found from an attach. Added new FDDI driver nf support. (Rev 01) 102146-01 was not released. Patch Installation Instructions: -------------------------------- Generic 'installpatch' and 'backoutpatch' scripts are provided within each patch package with instructillpatch or backoutpatch which uses package utilities to install and backout the patch package. It is recommended that any patch that fixes package utility problems be reviewed and, if necessary, applied before other patches are applied. Such existing patches are: 100901 Solaris 2.1 101122 Solaris 2.2 101331 Solaris 2.3 SEE ALSO pkgadd, pkgchk, pkgrm, pkginfo, showrev