From: Andy Grover Date: Fri, 21 Aug 2009 12:28:34 +0000 (+0000) Subject: RDS: Track transports via an array, not a list X-Git-Tag: v2.6.32-rc1~703^2~318 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=335776bd696a6bf95134baf8ad95847371e4d5f6;p=pandora-kernel.git RDS: Track transports via an array, not a list Now that transports can be loaded in arbitrary order, it is important for rds_trans_get_preferred() to look for them in a particular order, instead of walking the list until it finds a transport that works for a given address. Now, each transport registers for a specific transport slot, and these are ordered so that preferred transports come first, and then if they are not loaded, other transports are queried. Signed-off-by: Andy Grover Signed-off-by: David S. Miller --- Reading git-diff-tree failed