From: Erik Hugne Date: Fri, 18 Oct 2013 05:23:21 +0000 (+0200) Subject: tipc: simplify the link lookup routine X-Git-Tag: v3.13-rc1~105^2~177^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbfbe47cc99ce093708aaf28b7f2c08d28045c67;p=pandora-kernel.git tipc: simplify the link lookup routine When checking statistics or changing parameters on a link, the link_find_link function is used to locate the link with a given name. The complex method of deconstructing the name into local and remote address/interface is error prone and may fail if the interface names contains special characters. We change the lookup method to iterate over the list of nodes and compare the link names. Signed-off-by: Erik Hugne Reviewed-by: Paul Gortmaker Signed-off-by: Jon Maloy Signed-off-by: David S. Miller --- Reading git-diff-tree failed