diff options
Diffstat (limited to 'usr/src/uts/common/os/strsubr.c')
-rw-r--r-- | usr/src/uts/common/os/strsubr.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/usr/src/uts/common/os/strsubr.c b/usr/src/uts/common/os/strsubr.c index a7750e2ec3..650a4cfaf9 100644 --- a/usr/src/uts/common/os/strsubr.c +++ b/usr/src/uts/common/os/strsubr.c @@ -2467,18 +2467,13 @@ devflg_to_qflag(struct streamtab *stp, uint32_t devflag, uint32_t *qflagp, /* * Private flag used by a transport module to indicate * to sockfs that it supports direct-access mode without - * having to go through STREAMS or the transport can use - * sodirect_t sharing to bypass STREAMS for receive-side - * M_DATA processing. + * having to go through STREAMS. */ - if (devflag & (_D_DIRECT|_D_SODIRECT)) { + if (devflag & _D_DIRECT) { /* Reject unless the module is fully-MT (no perimeter) */ if ((qflag & QMT_TYPEMASK) != QMTSAFE) goto bad; - if (devflag & _D_DIRECT) - qflag |= _QDIRECT; - if (devflag & _D_SODIRECT) - qflag |= _QSODIRECT; + qflag |= _QDIRECT; } *qflagp = qflag; |