]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix the support of setting non-forwarding entity in Mesh
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Thu, 1 Mar 2012 18:03:19 +0000 (02:03 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:38:33 +0000 (15:38 -0500)
commitcd100eb0776ab27d80810b8cabe3e3f4f98094f9
tree00032469034dc31c007251d956396bcfbe2103c6
parent1471f5787c3309fe3758c216353c8dea8ca43352
mac80211: fix the support of setting non-forwarding entity in Mesh

RANN, PREP and PERR propagation should happen only if the
dot11MeshForwarding is true.  Besides, data frame should not be
forwarded if dot11MeshForwarding is false. This redundant checking
is necessary to avoid the broadcasted ARP breaking the non-forwarding
rule.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_hwmp.c
net/mac80211/rx.c