1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 14:56:47 +02:00
openwrt-xburst/target/linux/ramips
juhosg fa4dd3d5de 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:07 +00:00
..
base-files ramips: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ramips.sh was sourced 2010-05-30 03:21:00 +00:00
files ramips: Fix bridging in ramips ethernet driver 2010-07-13 16:52:07 +00:00
image target/ramips: fix another typo from [20834] (closes: #7182) 2010-04-19 01:14:29 +00:00
patches-2.6.32 generic: merge mips multi machine update to generic patches for 2.6.32 2010-06-04 19:09:46 +00:00
patches-2.6.34 generic: merge mips multi machine update to generic patches for 2.6.34 2010-06-04 19:09:52 +00:00
rt288x ramips: sync kernel config 2010-07-13 16:52:02 +00:00
rt305x ramips: sync kernel config 2010-07-13 16:52:02 +00:00
Makefile kernel: update to kernel 2.6.34.1 2010-07-10 22:39:52 +00:00