diff options
author | Monthadar Al Jaberi <monthadar@FreeBSD.org> | 2012-05-01 16:02:31 +0000 |
---|---|---|
committer | Monthadar Al Jaberi <monthadar@FreeBSD.org> | 2012-05-01 16:02:31 +0000 |
commit | 644ccee40590ae2259c12c65a7ccaeaa7ffaa267 (patch) | |
tree | 204e670c850312fd0be7df906db9b168806f33d1 /sys/net80211/ieee80211_mesh.c | |
parent | 737a965ec9a74abbed3e30e53a69bbaace4da245 (diff) | |
download | src-644ccee40590ae2259c12c65a7ccaeaa7ffaa267.tar.gz src-644ccee40590ae2259c12c65a7ccaeaa7ffaa267.zip |
PREP update
* Added assertion in mesh_rt_update;
* Fixed some prep propagation that where multicast, ALL PREPS ARE UNICAST;
* Fixed PREP acceptance criteria;
* Fixed some PREP debug messages;
* HWMP intermediate reply (PREP) should only be sent if we have newer
forwarding infomration (FI) about target;
* Fixed PREP propagation condition and PREP w/ AE handling;
* Ignore PREPs that have unknown originator.
* Removed old code inside PREP that was for proactive path building
to root mesh;
Other errors include:
* use seq number of target and not orig mesh STA;
* Metric is what we have stored in our FI;
* Error in amendment, Hop count is not 0 but equals FI hopcount for target;
Approved by: adrian
Notes
Notes:
svn path=/head/; revision=234881
Diffstat (limited to 'sys/net80211/ieee80211_mesh.c')
-rw-r--r-- | sys/net80211/ieee80211_mesh.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_mesh.c b/sys/net80211/ieee80211_mesh.c index ff9abe172c28..c533491e67b3 100644 --- a/sys/net80211/ieee80211_mesh.c +++ b/sys/net80211/ieee80211_mesh.c @@ -239,6 +239,8 @@ ieee80211_mesh_rt_update(struct ieee80211_mesh_route *rt, int new_lifetime) int timesince, now; uint32_t lifetime = 0; + KASSERT(rt != NULL, ("route is NULL")); + now = ticks; RT_ENTRY_LOCK(rt); |