summaryrefslogtreecommitdiffstats
path: root/sound/sparc
diff options
context:
space:
mode:
authorErik Hugne <erik.hugne@ericsson.com>2013-10-18 07:23:21 +0200
committerDavid S. Miller <davem@davemloft.net>2013-10-18 13:20:43 -0400
commitbbfbe47cc99ce093708aaf28b7f2c08d28045c67 (patch)
treed12bae2180f77b4dc48580bf5a85b995f1f4909c /sound/sparc
parent636c0371a737c27510df867161fb8100c2f086bd (diff)
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 <erik.hugne@ericsson.com> Reviewed-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/sparc')
0 files changed, 0 insertions, 0 deletions