diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2010-05-10 11:59:37 +0200 | 
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-05-10 14:20:42 +0200 | 
| commit | dbb6be6d5e974c42bbecd183effaa0df69e1dd8b (patch) | |
| tree | 5735cb47e70853d057a9881dd0ce44b83e88fa63 /net/mac80211/mesh_hwmp.c | |
| parent | 6a867a395558a7f882d041783e4cdea6744ca2bf (diff) | |
| parent | b57f95a38233a2e73b679bea4a5453a1cc2a1cc9 (diff) | |
| download | olio-linux-3.10-dbb6be6d5e974c42bbecd183effaa0df69e1dd8b.tar.xz olio-linux-3.10-dbb6be6d5e974c42bbecd183effaa0df69e1dd8b.zip  | |
Merge branch 'linus' into timers/core
Reason: Further posix_cpu_timer patches depend on mainline changes
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/mac80211/mesh_hwmp.c')
| -rw-r--r-- | net/mac80211/mesh_hwmp.c | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index ce84237ebad..fefc45c4b4e 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c @@ -7,6 +7,7 @@   * published by the Free Software Foundation.   */ +#include <linux/slab.h>  #include "mesh.h"  #ifdef CONFIG_MAC80211_VERBOSE_MHWMP_DEBUG @@ -391,7 +392,7 @@ static u32 hwmp_route_info_get(struct ieee80211_sub_if_data *sdata,  				if (SN_GT(mpath->sn, orig_sn) ||  				    (mpath->sn == orig_sn &&  				     action == MPATH_PREQ && -				     new_metric > mpath->metric)) { +				     new_metric >= mpath->metric)) {  					process = false;  					fresh_info = false;  				} @@ -611,7 +612,7 @@ static void hwmp_prep_frame_process(struct ieee80211_sub_if_data *sdata,  	mesh_path_sel_frame_tx(MPATH_PREP, flags, orig_addr,  		cpu_to_le32(orig_sn), 0, target_addr, -		cpu_to_le32(target_sn), mpath->next_hop->sta.addr, hopcount, +		cpu_to_le32(target_sn), next_hop, hopcount,  		ttl, cpu_to_le32(lifetime), cpu_to_le32(metric),  		0, sdata);  	rcu_read_unlock();  |