From: Pavel Emelyanov Date: Wed, 7 May 2008 15:47:01 +0000 (+0400) Subject: mac80211: Prepare mesh_table_grow to failing copy_node callback. X-Git-Tag: v2.6.27-rc1~969^2~337^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4caf86c6928cfaca270327bc944f901c2e2a8f50;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed