diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-05-10 13:43:38 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-21 21:47:32 -0400 |
commit | 70a96109439cba0af0780ee1dc25ec7ed15f0bae (patch) | |
tree | 1e6feb2b77486a90012f117201c13b35ab2020d7 /drivers/net/wireless/libertas/debugfs.c | |
parent | 61448f88078e813bbaaa58eb775d650c85e7d407 (diff) |
rt2x00: Preserve descriptor information after memmove()
Due to usage of memmove() in rt2x00usb the descriptor can become
corrupted because it is being overwritten by the data part.
Overall having the descriptor in front of the frame is a bad idea,
we can however use the skb->cb array for this task, since that
contains more then enough room to hold the entire descriptor and
preserve the information long enough.
After this we can also cleanup the alignment code a bit to make it
work a bit more flexible to allow for all kinds of odd header lengths.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/debugfs.c')
0 files changed, 0 insertions, 0 deletions