Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 11:14:09 +0300 (MSK)
From:      Gleb Smirnoff <glebius@cell.sick.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/64090: remove confusing EDQUOT from routing API
Message-ID:  <200403110814.i2B8E8HP085189@cell.sick.ru>
Resent-Message-ID: <200403110820.i2B8KEKw051305@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         64090
>Category:       kern
>Synopsis:       remove confusing EDQUOT from routing API
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 11 00:20:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Gleb Smirnoff
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD think.oilspace.com 5.2-CURRENT FreeBSD 5.2-CURRENT #12: Tue Mar  9 11:40:30 MSK 2004     glebius@think.oilspace.com:/usr/obj/usr/src/sys/THINKPAD_T20  i386

>Description:

	When an attempt to create a route with gateway reached by the same
	route is made, kernel returns confusing EDQUOT error.

How-To-Repeat:

	route change default 1.1.1.1

>How-To-Repeat:
>Fix:

	Change returning error in route.c (line 1102 in rev. 1.94) to
	something more clear. Change this constant in src/sbin/route/route.c
	(line 775 in rev. 1.70) as well.

	Instead of EDQUOT you can use ELOOP, or at least EINVAL. Or a new errno
	called ERECUR /* recursion detected */ can be created.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403110814.i2B8E8HP085189>