]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix DS to MBSS address translation
authorThomas Pedersen <thomas@cozybit.com>
Mon, 20 Aug 2012 18:28:25 +0000 (11:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Aug 2012 07:45:05 +0000 (09:45 +0200)
commit7c8cd438bd9aee6e0ddcb3c71bfc26e63ece2dda
tree1ceae97b5e1ff1e17dc101f820e7c3b424e66b8e
parent24ec1417317b65985d01d251c0c7e1ff740378b4
mac80211: fix DS to MBSS address translation

The destination address of unicast frames forwarded through a mesh gate
was being replaced with the broadcast address. Instead leave the
original destination address as the mesh DA. If the nexthop address is
not in the mpath table it will be resolved. If that fails, the frame
will be forwarded to known mesh gates.

Reported-by: Cedric Voncken <cedric.voncken@acksys.fr>
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c