]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: fix use of skb->cb for mesh forwarding
authorLuis Carlos Cobo <luisca@cozybit.com>
Tue, 5 Aug 2008 17:34:52 +0000 (19:34 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Aug 2008 13:49:04 +0000 (09:49 -0400)
commite32f85f7b917456265d4c30d15f734c4912cfa6a
tree14d48a5e3d4b279966f2c15b0a3e5f909bc71d58
parenteda0c003d1ff14c99d8476b482377ccfaf967b6c
mac80211: fix use of skb->cb for mesh forwarding

Now we deal with mesh forwarding before the 802.11->802.3 conversion, thus
eliminating a few unnecessary steps. The next hop lookup is called from
ieee80211_master_start_xmit() instead of subif_start_xmit(). Until the next hop
is found, RA in the frame will be all zeroes for frames originating from the
device. For forwarded frames, RA will contain the TA of the received frame,
which will be necessary to send a path error if a next hop is not found.

Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh.h
net/mac80211/mesh_hwmp.c
net/mac80211/mesh_pathtbl.c
net/mac80211/rx.c
net/mac80211/tx.c