git: staged opencrypto: Update crypto_copyback() to use m_copyback2(how=M_WAITOK)
Aaron LI
aly at crater.dragonflybsd.org
Fri Dec 22 00:31:27 PST 2023
commit 11096672db3443db570cc5ab5cb6b0968d5b666a
Author: Aaron LI <aly at aaronly.me>
Date: Thu Dec 21 15:13:25 2023 +0800
opencrypto: Update crypto_copyback() to use m_copyback2(how=M_WAITOK)
crypto_copyback() has no return value and isn't expected to fail by the
caller, e.g., swcr_compdec(), so update it to use m_copyback2() with
how=M_WAITOK.
Note that caller swcr_compdec() uses 'M_INTWAIT' for kmalloc(), but that
doesn't make sense to mbuf functions, so use M_WAITOK instead for the
moment.
Discussed-with: dillon
Summary of changes:
sys/opencrypto/criov.c | 2 +-
sys/opencrypto/cryptosoft.c | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/11096672db3443db570cc5ab5cb6b0968d5b666a
--
DragonFly BSD source repository
More information about the Commits
mailing list