Page MenuHomeFreeBSD

D26582.diff
No OneTemporary

D26582.diff

Index: head/sys/dev/cxgbe/crypto/t4_crypto.c
===================================================================
--- head/sys/dev/cxgbe/crypto/t4_crypto.c
+++ head/sys/dev/cxgbe/crypto/t4_crypto.c
@@ -2777,7 +2777,7 @@
return (0);
}
error = ccr_gcm(sc, s, crp);
- if (error == EMSGSIZE) {
+ if (error == EMSGSIZE || error == EFBIG) {
counter_u64_add(sc->stats_sw_fallback, 1);
mtx_unlock(&s->lock);
ccr_gcm_soft(s, crp);
@@ -2796,7 +2796,7 @@
csp->csp_cipher_klen);
}
error = ccr_ccm(sc, s, crp);
- if (error == EMSGSIZE) {
+ if (error == EMSGSIZE || error == EFBIG) {
counter_u64_add(sc->stats_sw_fallback, 1);
mtx_unlock(&s->lock);
ccr_ccm_soft(s, crp);

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 10, 1:31 PM (6 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34929883
Default Alt Text
D26582.diff (708 B)

Event Timeline