From: Cyrill Gorcunov Date: Tue, 23 Nov 2010 11:43:44 +0000 (+0000) Subject: net, ppp: Report correct error code if unit allocation failed X-Git-Tag: v2.6.37-rc4~4^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcc70bb3aeae7c3d035881d41055685f08a2b745;p=pandora-kernel.git net, ppp: Report correct error code if unit allocation failed Allocating unit from ird might return several error codes not only -EAGAIN, so it should not be changed and returned precisely. Same time unit release procedure should be invoked only if device is unregistering. Signed-off-by: Cyrill Gorcunov CC: Paul Mackerras Signed-off-by: David S. Miller --- Reading git-diff-tree failed