]> err.no Git - linux-2.6/blobdiff - net/mac80211/mesh_pathtbl.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / net / mac80211 / mesh_pathtbl.c
index 1154398eceaa3597a44102d91f96f1198f35ca03..5f88a2e6ee5072e2b1d313c896957078bffa3e79 100644 (file)
@@ -206,7 +206,7 @@ int mesh_path_add(u8 *dst, struct net_device *dev)
                newtbl = mesh_table_grow(mesh_paths);
                if (!newtbl) {
                        write_unlock(&pathtbl_resize_lock);
-                       return -ENOMEM;
+                       return 0;
                }
                rcu_assign_pointer(mesh_paths, newtbl);
                write_unlock(&pathtbl_resize_lock);
@@ -262,7 +262,6 @@ void mesh_plink_broken(struct sta_info *sta)
        }
        rcu_read_unlock();
 }
-EXPORT_SYMBOL(mesh_plink_broken);
 
 /**
  * mesh_path_flush_by_nexthop - Deletes mesh paths if their next hop matches