Commit 4caf86c6 authored by Committed by John W. LinvilleBrowse files
mac80211: Prepare mesh_table_grow to failing copy_node callback.
The mesh_path_node_copy() performs kmalloc() and thus - may fail (well, it does not now, but I'm fixing this right now). Its caller - the mesh_table_grow() - isn't prepared for such a trick yet. This preparation is just flush the new hash and make copy_node() return an int value. Signed-off-by: Pavel Emelyanov <email@example.com> Signed-off-by: John W. Linville <firstname.lastname@example.org>