]> git.baikalelectronics.ru Git - kernel.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)
commit7ae91517d3094dcb69fe634a75d83cfc6bf66586
tree14d48a5e3d4b279966f2c15b0a3e5f909bc71d58
parent531ccf6da3ff0a67cef9dd5af8845e4ceffd5ca4
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