From owner-freebsd-hackers Wed Mar 6 04:59:05 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA18627 for hackers-outgoing; Wed, 6 Mar 1996 04:59:05 -0800 (PST) Received: from rd.zgik.zaporizhzhe.ua (rd.zgik.zaporizhzhe.ua [193.124.62.69]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA18613 for ; Wed, 6 Mar 1996 04:58:26 -0800 (PST) Received: by rd.zgik.zaporizhzhe.ua id AA03103 (5.65c8/IDA-1.4.4 for hackers@freebsd.org); Wed, 6 Mar 1996 14:57:46 +0200 Date: Wed, 6 Mar 1996 14:57:42 +0200 (UKR) From: Yury Pshenychny To: hackers@freebsd.org Subject: Bug in serial line IP implementation Message-Id: Mime-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk Hi! 2.1.0R and, AFAIK, -current slip implementation buggy. Slip discipline ioctl SLIOCSUNIT not work properly. Code from 2.1.0R: (file /sys/net/if_sl.c, lines 371-373) case SLIOCSUNIT: sc->sc_if.if_unit = *(u_int *)data; break; This code is dangerous. This code change unit number of current slip interface. There absolutely no warranty, but if you running slattach -S 1 you may have two or more interfaces named sl1 in system. Some times this hangs all net-related activity, some times not. Any suggestions? Do not respond with 'not use slattach -S' please, fixed unit feature in slip implementation still important for me. -- Yura