On Wed, 2015-02-25 at 09:07 +0200, Vladimir Kondratiev wrote: > On Monday, February 23, 2015 09:35:39 AM Johannes Berg wrote: > > If the SKB has pages (rather than being linear, as > > ieee80211_amsdu_to_8023s() assumes) then what Emmanuel said would > > probably be the best approach, although it could be possible that would > > mess up truesize accounting and lead to lower performance. Certainly > > you'd want to do it only for suitably large packets (at least bigger > > than 128 bytes or so) > > Why is it important whether it has pages? Looks like I can play with > pointers to the linear part as well. I don't think that will work - it would crash later trying to free that page, no? Oh - you mean just skb_pull() and friends? That might actually work, yeah. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html