Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern RP/21088: Jesse Off: Return ENOBUFS instead of EINV...



details:   https://anonhg.NetBSD.org/src/rev/273428df0aaf
branches:  trunk
changeset: 545544:273428df0aaf
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 10 18:55:11 2003 +0000

description:
RP/21088: Jesse Off: Return ENOBUFS instead of EINVAL when sbappend fails.

diffstat:

 sys/kern/uipc_usrreq.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r dcca71cdf528 -r 273428df0aaf sys/kern/uipc_usrreq.c
--- a/sys/kern/uipc_usrreq.c    Thu Apr 10 18:50:05 2003 +0000
+++ b/sys/kern/uipc_usrreq.c    Thu Apr 10 18:55:11 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_usrreq.c,v 1.59 2003/02/26 06:31:11 matt Exp $    */
+/*     $NetBSD: uipc_usrreq.c,v 1.60 2003/04/10 18:55:11 christos Exp $        */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_usrreq.c,v 1.59 2003/02/26 06:31:11 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_usrreq.c,v 1.60 2003/04/10 18:55:11 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -125,7 +125,7 @@
            control) == 0) {
                m_freem(control);
                m_freem(m);
-               return (EINVAL);
+               return (ENOBUFS);
        } else {
                sorwakeup(so2);
                return (0);



Home | Main Index | Thread Index | Old Index