From: Endre Kollar Date: Tue, 27 Jul 2010 10:39:30 +0000 (+0200) Subject: Staging: usbip: fix multiple interfaces X-Git-Tag: v2.6.36-rc1~520^2~1^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa5873e96271611ae55586f65e49ea1fab90cb88;p=pandora-kernel.git Staging: usbip: fix multiple interfaces The stub_probe function instantiates an stub_dev object for all interfaces. Wich causes a problem. The stub_dev object belongs to their own interfaces. This patch creates the sdev object at the first stub_probe call, the other calls associate the interfaces to this. Signed-off-by: Endre Kollar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed