diff options
author | 2021-06-01 22:13:58 +0800 | |
---|---|---|
committer | 2021-06-01 17:01:33 -0700 | |
commit | b923cda9638860d6fbb688cfc4c939ff13df31b5 (patch) | |
tree | e5f4d54e688ab2ebea1100ea355c17c1df5a3496 /drivers/net/gtp.c | |
parent | igb: Fix -Wunused-const-variable warning (diff) | |
download | wireguard-linux-b923cda9638860d6fbb688cfc4c939ff13df31b5.tar.xz wireguard-linux-b923cda9638860d6fbb688cfc4c939ff13df31b5.zip |
net: dcb: Return the correct errno code
When kalloc or kmemdup failed, should return ENOMEM rather than ENOBUF.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gtp.c')
0 files changed, 0 insertions, 0 deletions