From owner-cvs-sys Tue Jul 15 16:26:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA01306 for cvs-sys-outgoing; Tue, 15 Jul 1997 16:26:58 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA01261; Tue, 15 Jul 1997 16:26:30 -0700 (PDT) From: Julian Elischer Received: (from julian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id QAA29603; Tue, 15 Jul 1997 16:25:33 -0700 (PDT) Date: Tue, 15 Jul 1997 16:25:33 -0700 (PDT) Message-Id: <199707152325.QAA29603@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/net if_ethersubr.c rtsock.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 1997/07/15 16:25:33 PDT Modified files: sys/net if_ethersubr.c rtsock.c Log: Finally track down the reason for some of my occasional kernel crashes. Route(1) has a bug that sends a bad message to the kernel. The kernel trusts it and crashes. Add some sanity checks so that we don't trust the user quite as much any more. (also add a comment in if_ethersubr.c) Revision Changes Path 1.36 +4 -1 src/sys/net/if_ethersubr.c 1.28 +20 -2 src/sys/net/rtsock.c