Re: [RFC v2] mac80211: assign needed_headroom/tailroom for netdevs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <tomasw@...>, <linville@...>, <netdev@...>, <linux-wireless@...>, <herbert@...>
Date: Monday, May 5, 2008 - 8:01 pm

> > Which buffer? skb->data..skb->tail? And isn't that, in mac80211's case,

Yeah, but at least right now we don't accept any of those. That might
change, but even then we'll only care about the headroom (and maybe for
TKIP the crypto MIC that's at the end, assuming the hardware does the
encryption which it usually does), but we can stick that elsewhere and
just DMA it on.


Ok.


Right. I just checked, and realised I remembered wrongly, wpa_supplicant
actually binds the socket to the ethertype it wants so
dev_queue_xmit_nit() shouldn't be called. I'll have to check why I got
so many cloned packets, best see if it still happens with the
header_cloned() change.

johannes
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC v2] mac80211: assign needed_headroom/tailroom for n..., Johannes Berg, (Mon May 5, 8:01 pm)