ktls / af_ktls

Linux Kernel TLS/DTLS Module
GNU General Public License v2.0
159 stars 25 forks source link

make send path use skbuffs #84

Closed djwatson closed 8 years ago

djwatson commented 8 years ago

Change send path to use skbuffs. This makes it extremely easy to support MSG_DONTWAIT and partial send data. It also properly accounts for the socket memory usage.

Second patch changes kernel_sendpage to use MSG_DONTWAIT for full asynchronous sends.

This should fix https://github.com/ktls/af_ktls/issues/55 https://github.com/ktls/af_ktls/issues/38 https://github.com/ktls/af_ktls/issues/29 https://github.com/ktls/af_ktls/issues/4

fridex commented 8 years ago

LGTM