mac80211: make mpath path fixing more robust
authorPedersen, Thomas <twp@qca.qualcomm.com>
Tue, 6 Sep 2016 18:59:00 +0000 (11:59 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Sep 2016 10:27:14 +0000 (12:27 +0200)
commit5df20f2141eadb5430caaad20eceac61cfe0f139
tree9eafed51548165087bd7c490e72cd30ccf39bdfb
parentdf6ef5d8a87ace995d5c10a7bd684be05911a321
mac80211: make mpath path fixing more robust

A fixed mpath was not quite being treated as such:

1) if a PERR frame was received, a fixed mpath was
   deactivated.

2) queued path discovery for fixed mpath was potentially
   being considered, changing mpath state.

3) other mpath flags were potentially being inherited when
   fixing the mpath. Just assign PATH_FIXED and SN_VALID.

This solves several issues when fixing a mesh path in one
direction. The reverse direction mpath should probably
also be fixed, or root announcements at least be enabled.

Signed-off-by: Thomas Pedersen <twp@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_hwmp.c
net/mac80211/mesh_pathtbl.c
This page took 0.034653 seconds and 5 git commands to generate.