X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=net%2Fmac80211%2Fmesh_hwmp.c;h=daf9db3c8f24f389df84d95ae973c969d65622f1;hb=539373401411bdc9c9bdedb9908196c8dcccfc43;hp=35ad3983ae4b6b26fb13f6718b692c9b9b0d6e98;hpb=7980033bea8a74692fdb987c44ec91b0be8e752b;p=linux-2.6-block.git diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index 35ad3983ae4b..daf9db3c8f24 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c @@ -572,6 +572,10 @@ static void hwmp_preq_frame_process(struct ieee80211_sub_if_data *sdata, forward = false; reply = true; target_metric = 0; + + if (SN_GT(target_sn, ifmsh->sn)) + ifmsh->sn = target_sn; + if (time_after(jiffies, ifmsh->last_sn_update + net_traversal_jiffies(sdata)) || time_before(jiffies, ifmsh->last_sn_update)) {