diff options
author | stephen hemminger <stephen@networkplumber.org> | 2013-09-27 04:40:11 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-30 23:47:43 +0400 |
commit | 0c4e4020f0145ed84b0ef9e3fb79c4a022e77e47 (patch) | |
tree | 04694b8d25bba52dd554843465035a0e48261b08 /virt/kvm | |
parent | 90de527d7ec77e509a22596d8f9eae9b90fd28ca (diff) | |
download | linux-0c4e4020f0145ed84b0ef9e3fb79c4a022e77e47.tar.xz |
qdisc: meta return ENOMEM on alloc failure
Rather than returning earlier value (EINVAL), return ENOMEM if
kzalloc fails. Found while reviewing to find another EINVAL condition.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions