]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Include the trailer in the original dst_iov.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 25 May 2021 23:59:19 +0000 (16:59 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 25 May 2021 23:59:19 +0000 (16:59 -0700)
commit6b313a3a60453e87f0a224361dad6284550395de
tree189cbdf9efec5f4319ce5bc7e9be585194ada5a1
parent21e3c1fbe2460f144f6d4dfd61c3346b2de59667
Include the trailer in the original dst_iov.

This avoids creating a duplicate copy on the stack just to
append the trailer.

Reviewed by: gallatin, markj
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D30139
sys/kern/uipc_ktls.c
sys/opencrypto/ktls_ocf.c