]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mesh: always use the latest target_sn
authorBob Copeland <me@bobcopeland.com>
Tue, 15 Apr 2014 14:43:08 +0000 (10:43 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 22 Apr 2014 15:24:50 +0000 (17:24 +0200)
commit67f8441b49ed4854e59a626df9e51a4704167bcd
treeaba59c0170fa56dffcc3242e9cbada1f159e6dd2
parent2c16995b085d277b04b55aa67401204e852a9ff6
mac80211: mesh: always use the latest target_sn

When a path target responds to a path request, its response
always contains the most up-to-date information; accordingly,
it should use the latest target_sn, regardless of
net_traversal_jiffies().  Otherwise, only the first path
response is considered when constructing a path, as it will
have the highest target_sn of all replies during that period.

Signed-off-by: Bob Copeland <bob@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_hwmp.c