Date: Mon, 25 May 1998 20:52:03 -0700 (PDT) From: Matthew Dillon <dillon@backplane.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/6758: mount_portal fails in sendmsg(..., MSG_EOR) due to MSG_EOR flag Message-ID: <199805260352.UAA15670@apollo.backplane.com>
next in thread | raw e-mail | index | archive | help
>Number: 6758 >Category: kern >Synopsis: mount_portal fails because kernal refuses to accept MSG_EOR flag in sendmsg >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: Mon May 25 20:50:00 PDT 1998 >Last-Modified: >Originator: Matthew Dillon >Organization: Best Internet Communications, Inc. >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD-current, CVS synchronized as of around April 7 >Description: mount_portal fails to work because the sendmsg() call in activate.c line 152 passes the MSG_EOR flag to sendmsg(), which causes sendmsg() to return an error. Changing activate.c to pass 0 instead of MSG_EOR fixes the problem. >How-To-Repeat: ---- /etc/portal.conf ---- tcp/ tcp tcp/ fs/ file fs/ -------------------------- # mount_portal /etc/portal.conf /p # cat /p/tcp/idiom.com/13 cat: /p/tcp/idiom.com/13: Connection reset by peer # # (hack mount_portal code and change MSG_EOR flag in sendmsg() call to 0 # mount portal /etc/portal.conf /p # cat /p/tcp/idiom.com/13 Mon May 25 20:47:11 1998 # >Fix: I'm not sure if the mount_portal source should use 0 instead of MSG_EOR in the sendmsg() call (activate.c line 152), or if the kernel should be fixed to accept the MSG_EOR flag. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805260352.UAA15670>