[rt2x00-users] [PATCH] rt2x00: Reorganize padding & L2 padding
Ivo van Doorn
ivdoorn at gmail.com
Sun Aug 30 13:32:47 UTC 2009
> > +void rt2x00queue_remove_l2pad(struct sk_buff *skb, unsigned int
> > header_length) +{ + struct skb_frame_desc *skbdesc =
> > get_skb_frame_desc(skb); + unsigned int l2pad = 4 - (header_length
> > & 3);
> This formula is incorrect, it should be at least (4 -
> (header_length%4)%4). I have a fix in my pending patches...
> If header_length is 0 => l2pad should be 0 as well.
Header_length should never be 0 (that was fixed by this patch), so that should
not be a problem. I'll review your patch so it can be send as update later. But I
do think this patch can be merged into linux-wireless in regardless.
Ivo
P.S. Your mail client is really messing up the replies by removing end-of-line
characters. :S
More information about the users
mailing list