aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4vf
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-11-23 06:43:44 -0500
committerDavid S. Miller <davem@davemloft.net>2010-11-28 14:33:49 -0500
commitbcc70bb3aeae7c3d035881d41055685f08a2b745 (patch)
treed315f22c30a9356f8294669bb9c9cf31f844ff12 /drivers/net/cxgb4vf
parent3c6f27bf33052ea6ba9d82369fb460726fb779c0 (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>
Diffstat (limited to 'drivers/net/cxgb4vf')
0 files changed, 0 insertions, 0 deletions