RE: [PATCH net-next] iwlwifi: dont pull too much payload in skb head
flat view
From: Berg, Johannes <hidden>
Date: 2012-05-29 14:46:29
quoted
We may want to move this code into mac80211 later though since it also has an if (pull in everything, even reallocating if necessary, if it's a management frame), but that can wait, I think we're the only driver using paged RX.This is OK, these frames wont be injected in linux IP/TCP stack.
Right.
Or maybe you would like an optimized version of skb_header_pointer(), avoiding the copy if the whole blob can be part of _one_ fragment ?
Hmm. I guess that would work, but I'm not sure it's worth the effort since there typically aren't many management frames. We'd have to replace all skb->data, the entire mac80211 assumes that management frames are linear. johannes -- -------------------------------------------------------------------------------------- Intel GmbH Dornacher Strasse 1 85622 Feldkirchen/Muenchen, Deutschland Sitz der Gesellschaft: Feldkirchen bei Muenchen Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer Registergericht: Muenchen HRB 47456 Ust.-IdNr./VAT Registration No.: DE129385895 Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052