Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 10:30:05 GMT
From:      "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/81349: [PATCH] Wrong error code is returned in ng_eiface(4)
Message-ID:  <200505221030.j4MAU5Bb072856@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/81349; it has been noted by GNATS.

From: "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/81349: [PATCH] Wrong error code is returned in ng_eiface(4)
Date: Sun, 22 May 2005 10:35:05 +0000

 --GvXjxJ+pjyke8COw
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Hello,
 
 I've noticed error returned in other Netgraph nodes when we
 create hook with improper name differs without any reason.
 Attachement contains patch which fixes inconsistency.
 
 -- 
 * Wojciech A. Koszek && dunstan@FreeBSD.czest.pl
 
 --GvXjxJ+pjyke8COw
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=NG-errorcode
 
 Index: ng_eiface.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/netgraph/ng_eiface.c,v
 retrieving revision 1.31
 diff -r1.31 ng_eiface.c
 384c384
 < 		return (EPFNOSUPPORT);
 ---
 > 		return (EINVAL);
 Index: ng_gif_demux.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/netgraph/ng_gif_demux.c,v
 retrieving revision 1.10
 diff -r1.10 ng_gif_demux.c
 263c263
 < 			return (EPFNOSUPPORT);
 ---
 > 			return (EINVAL);
 Index: ng_iface.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/netgraph/ng_iface.c,v
 retrieving revision 1.41
 diff -r1.41 ng_iface.c
 527c527
 < 		return (EPFNOSUPPORT);
 ---
 > 		return (EINVAL);
 Index: ng_split.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/netgraph/ng_split.c,v
 retrieving revision 1.5
 diff -r1.5 ng_split.c
 116c116
 < 		return (EPFNOSUPPORT);
 ---
 > 		return (EINVAL);
 
 --GvXjxJ+pjyke8COw--



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