Project

General

Profile

Actions

Bug #14199

open

sendfile compat checks shouldn't be done in so_sendmblk

Added by Andy Fiddaman about 1 month ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

This is an upstream of https://smartos.org/bugview/OS-3893, a pre-requisite for #13500

From the original Joyent bug:

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.

Work by Robert Mustacchi


Related issues

Blocks illumos gate - Feature #13500: Want support for "overlay" networksNewAndy Fiddaman

Actions
Actions #1

Updated by Andy Fiddaman about 1 month ago

Actions

Also available in: Atom PDF