diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-07-13 16:52:07 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-07-13 16:52:07 +0000 |
commit | d14e9e706e4f535af703b3f626b978910a861a4d (patch) | |
tree | d7088b74cd19acf8b2ad7479dede42aedb4fe74e /package/crda | |
parent | 27375c513937c315c55340d9b35ed61942171630 (diff) | |
download | upstream-d14e9e706e4f535af703b3f626b978910a861a4d.tar.gz upstream-d14e9e706e4f535af703b3f626b978910a861a4d.tar.bz2 upstream-d14e9e706e4f535af703b3f626b978910a861a4d.zip |
ramips: Fix bridging in ramips ethernet driver
Bridging between the ramips ethernet driver and rt2800pci was somewhat
broken. Frames received by the ethernet driver which were passed to the
wifi driver for transmission were sometimes corrupted or sent out with
huge delays.
The reason for this is the missing assignment of skb->tail in the ramips
ethernet driver's rx path resulting in skb->tail pointing to skb->data.
Since skb->tail is used by mac80211 it writes into skb->data which messes
up the frames content.
Fix this by using skb_put to correctly set skb->len and skb->tail.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 22172
Diffstat (limited to 'package/crda')
0 files changed, 0 insertions, 0 deletions