BUG_ON in sg code
Quoted 9 lines · Johannes Berg
Hi Ard,
Apologies for the non-follow-up - couldn't find the original patch.
Your patch "crypto: ccm - switch to separate cbcmac driver" causes a
BUG_ONwhen virtual stacks are used, incrypto_ccm_auth()is called, because you put odata/idata on the stack. What's going on there? I thought we knew we can't do that? Did I miss something?
It was I who missed something, obviously.
I will send out a fix asap
Hi Ard,
Apologies for the non-follow-up - couldn't find the original patch.
Your patch "crypto: ccm - switch to separate cbcmac driver" causes a BUG_ON when virtual stacks are used, in crypto_ccm_auth() is called, because you put odata/idata on the stack. What's going on there? I thought we knew we can't do that? Did I miss something?
johannes
Quoted 6 lines · Ard Biesheuvel
Quoted 4 lines
because you put odata/idata on the stack. What's going on there? I thought we knew we can't do that? Did I miss something?
It was I who missed something, obviously.
Ok. I thought maybe I missed a plan to actually make it allowed or something :)
Thanks!
johannes