Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2016 15:56:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 213479] [patch] Fix ggatec; should support other than BIO_READ / BIO_WRITE
Message-ID:  <bug-213479-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213479

            Bug ID: 213479
           Summary: [patch] Fix ggatec; should support other than BIO_READ
                    / BIO_WRITE
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: kikuchan98@gmail.com
          Keywords: patch

Created attachment 175746
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175746&action=
=3Dedit
a workaround for the problem

When G_GATE_CMD_START ioctl require some operations other than BIO_READ /
BIO_WRITE, current implementation of ggatec sometimes stops working because=
 it
uses uninitialized hdr.gh_cmd variable confuses ggated.

A patch try to solve this situation by returning EOPNOTSUPP, like ggatel do=
es.

Maybe BIO_FLUSH and BIO_DELETE should be supported on ggate protocol by
assigning GGATE_CMD_FLUSH and GGATE_CMD_DELETE commands respectively, in the
future.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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