Subject: PR/21474 CVS commit: src/sys/altq
To: None <peter@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Peter Postma <peter@netbsd.org>
List: netbsd-bugs
Date: 10/28/2006 11:40:02
The following reply was made to PR kern/21474; it has been noted by GNATS.
From: Peter Postma <peter@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/21474 CVS commit: src/sys/altq
Date: Sat, 28 Oct 2006 11:35:17 +0000 (UTC)
Module Name: src
Committed By: peter
Date: Sat Oct 28 11:35:17 UTC 2006
Modified Files:
src/sys/altq: altq_cbq.c altq_rmclass.c altq_rmclass.h
Log Message:
Don't allow to initialize an interface with MTU smaller than one.
This prevents a divide by zero and fixes PR #21474.
ok tron@
To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/altq/altq_cbq.c
cvs rdiff -r1.16 -r1.17 src/sys/altq/altq_rmclass.c
cvs rdiff -r1.7 -r1.8 src/sys/altq/altq_rmclass.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.