Zheng Yongjun ca746c55a7 net: 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>
2021-06-01 17:02:15 -07:00
..
2021-06-01 17:02:15 -07:00
2021-05-17 15:29:35 -07:00
2020-11-09 17:50:28 -08:00
2020-11-09 17:50:28 -08:00
2021-05-17 15:29:35 -07:00
2021-01-29 20:59:53 -08:00
2021-05-17 15:29:35 -07:00
2021-05-18 13:27:32 -07:00
2020-12-16 11:01:04 -08:00
2020-03-16 18:26:54 -07:00
2021-03-28 17:31:13 -07:00
2020-12-14 16:40:27 -08:00
2020-03-16 18:26:55 -07:00
2021-05-17 15:29:35 -07:00
2021-05-17 15:29:35 -07:00