> When calling drv_tx() the headroom is not big enough for the driver. Ok. > > > > Maybe we're adding something else to this skb? > > > > I can't find anything in the ath9k_htc driver that's adding more > > than > > 23 bytes (it's advertising 24) but clearly the last 8 bytes here > > are > > failing: > > > > > [ 83.200346] skbuff: skb_under_panic: text:ffffffffa034c028 > > > len:154 > > > put:8 head:ffff880213422e00 data:ffff880213422dfa tail:0x94 > > > end:0xc0 > > > dev:<NULL> > > > > Maybe mac80211 is putting something else? It'd have to be > > yes mac80211 is adding the security header. > headroom asked to skb_copy_expand should also take sdata- > >encrypt_headroom into account. I suspected that, since it was about the only place that was adding anything, but I couldn't test it :) Can you send a patch? johannes