Subject: CVS commit: src/sys/altq
To: None <source-changes@NetBSD.org>
From: Peter Postma <peter@netbsd.org>
List: source-changes
Date: 10/28/2006 11:35:17
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.