OS-3893: sendfile compat checks shouldn't be done in so_sendmblk

Details

Issue Type:Bug
Priority:4 - Normal
Status:Resolved
Created at:2015-02-21T00:33:37.000Z
Updated at:2015-02-23T19:46:19.000Z

People

Created by:Former user
Reported by:Former user
Assigned to:Former user

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2015-02-23T19:46:19.000Z)

Fix Versions

2015-03-05 JavaRing (Release Date: 2015-03-05)

Description

Currently we're checking in so_sendmblk whether or not we are using sendfile with this interface and whether the underlying protocol supports it. However, it's actually being done at the wrong layer in essence. One can use the so_sendmblk interface, such as with ksockets, without needing to use sendfile at all. And in fact the other interfaces just convert data into mblk_t's and pass it down to the lower layer.

Comments

Comment by Former user
Created at 2015-02-23T19:45:48.000Z

illumos-joyent commit b628476 (branch master, by Robert Mustacchi)

OS-3893 sendfile compat checks shouldn't be done in so_sendmblk
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>