aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4vf/t4vf_hw.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-11-23 11:43:44 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-28 11:33:49 -0800
commitbcc70bb3aeae7c3d035881d41055685f08a2b745 (patch)
treed315f22c30a9356f8294669bb9c9cf31f844ff12 /drivers/net/cxgb4vf/t4vf_hw.c
parentDECnet: don't leak uninitialized stack byte (diff)
downloadlinux-dev-bcc70bb3aeae7c3d035881d41055685f08a2b745.tar.xz
linux-dev-bcc70bb3aeae7c3d035881d41055685f08a2b745.zip
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/t4vf_hw.c')
0 files changed, 0 insertions, 0 deletions