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@FreeBSD.org
          Reporter: kikucha...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to