From: Jeff G. <jg...@po...> - 2005-10-13 23:06:26
|
Michael Buesch wrote: > @@ -221,11 +221,13 @@ static struct ieee80211_txb *ieee80211_a > txb->frag_size = txb_size; > > for (i = 0; i < nr_frags; i++) { > - txb->fragments[i] = dev_alloc_skb(txb_size); > + txb->fragments[i] = __dev_alloc_skb(txb_size + headroom, > + gfp_mask | GFP_DMA); > if (unlikely(!txb->fragments[i])) { > i--; Very wrong. GFP_DMA means ISA DMA. See pci_map_xxx() and other DMA API functions. Jeff |