commit | bcc70bb3aeae7c3d035881d41055685f08a2b745 | [log] [tgz] |
---|---|---|
author | Cyrill Gorcunov <gorcunov@gmail.com> | Tue Nov 23 11:43:44 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 28 11:33:49 2010 -0800 |
tree | d315f22c30a9356f8294669bb9c9cf31f844ff12 | |
parent | 3c6f27bf33052ea6ba9d82369fb460726fb779c0 [diff] |
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 <gorcunov@openvz.org> CC: Paul Mackerras <paulus@samba.org> Signed-off-by: David S. Miller <davem@davemloft.net>