[Bug 213479] [patch] Fix ggatec; should support other than BIO_READ / BIO_WRITE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 14 15:56:55 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213479

            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 at FreeBSD.org
          Reporter: kikuchan98 at gmail.com
          Keywords: patch

Created attachment 175746
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175746&action=edit
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 does.

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.

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


More information about the freebsd-bugs mailing list