|
@@ -791,7 +791,7 @@ int mesh_nexthop_lookup(struct sk_buff *skb,
|
|
}
|
|
}
|
|
|
|
|
|
if (mpath->flags & MESH_PATH_ACTIVE) {
|
|
if (mpath->flags & MESH_PATH_ACTIVE) {
|
|
- if (time_after(jiffies, mpath->exp_time -
|
|
|
|
|
|
+ if (time_after(jiffies, mpath->exp_time +
|
|
msecs_to_jiffies(sdata->u.mesh.mshcfg.path_refresh_time))
|
|
msecs_to_jiffies(sdata->u.mesh.mshcfg.path_refresh_time))
|
|
&& !memcmp(sdata->dev->dev_addr, hdr->addr4,
|
|
&& !memcmp(sdata->dev->dev_addr, hdr->addr4,
|
|
ETH_ALEN)
|
|
ETH_ALEN)
|