FreeBSD Bugzilla – Attachment 175746 Details for
Bug 213479
Fix ggatec; Return EOPNOTSUPP for operations other than BIO_READ / BIO_WRITE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a workaround for the problem
ggatec.patch (text/plain), 399 bytes, created by
kikuchan98
on 2016-10-14 15:56:55 UTC
(
hide
)
Description:
a workaround for the problem
Filename:
MIME Type:
Creator:
kikuchan98
Created:
2016-10-14 15:56:55 UTC
Size:
399 bytes
patch
obsolete
>--- sbin/ggate/ggatec/ggatec.c.orig 2016-04-13 00:49:31.168895372 +0900 >+++ sbin/ggate/ggatec/ggatec.c 2016-10-14 19:56:04.816030000 +0900 >@@ -142,6 +142,10 @@ > case BIO_WRITE: > hdr.gh_cmd = GGATE_CMD_WRITE; > break; >+ default: >+ ggio.gctl_error = EOPNOTSUPP; >+ g_gate_ioctl(G_GATE_CMD_DONE, &ggio); >+ continue; > } > hdr.gh_seq = ggio.gctl_seq; > hdr.gh_offset = ggio.gctl_offset;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213479
: 175746