Re: [mac80211] BUG_ON with current -git (4.8.0-11417-g24532f7)
From: Sergey Senozhatsky <hidden>
Date: 2016-10-14 08:40:19
Also in:
linux-next, lkml, netdev
From: Sergey Senozhatsky <hidden>
Date: 2016-10-14 08:40:19
Also in:
linux-next, lkml, netdev
On (10/13/16 14:49), Andy Lutomirski wrote: [..]
quoted
quoted
FAIL: 00004100002cba02 > ffffc900802cba02 || 1 -> (00004100002cba02quoted
quoted
39) == 130Yeah, we already know that in this function the aad variable is on the stack, it explicitly is. The question, though, is why precisely that fails in the crypto code. Can you send the Oops report itself?It's failing before that. With CONFIG_VMAP_STACK=y, the stack may not be physically contiguous and can't be used for DMA, so putting it in a scatterlist is bogus in general, and the crypto code mostly wants a scatterlist. There are a couple (faster!) APIs for crypto that don't use scatterlists, but I don't think AEAD works with them.
given that we have a known issue shouldn't VMAP_STACK be disabled for now, or would you rather prefer to mark MAC80211 as incompatible: "depends on CFG80211 && !VMAP_STACK"? -ss