Re: [PATCH net-next] net: Return the correct errno code

2021-02-06 Thread Jakub Kicinski
On Thu, 4 Feb 2021 11:14:26 -0800 Jesse Brandeburg wrote: > Zheng Yongjun wrote: > > > When kzalloc failed, should return ENOMEM rather than ENOBUFS. > > All these patches have the same subject and description, couldn't they > just be part of a single series with a good cover letter? Agreed.

Re: [PATCH net-next] net: Return the correct errno code

2021-02-04 Thread Jesse Brandeburg
Zheng Yongjun wrote: > When kzalloc failed, should return ENOMEM rather than ENOBUFS. All these patches have the same subject and description, couldn't they just be part of a single series with a good cover letter? I'm not saying make them a single patch, because that is bad for bisection, but

[PATCH net-next] net: Return the correct errno code

2021-02-04 Thread Zheng Yongjun
When kzalloc failed, should return ENOMEM rather than ENOBUFS. Signed-off-by: Zheng Yongjun --- net/decnet/dn_dev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c index 15d42353f1a3..50e375dcd5bd 100644 ---

[PATCH net-next] net: Return the correct errno code

2021-02-03 Thread Zheng Yongjun
When kalloc or kmemdup failed, should return ENOMEM rather than ENOBUF. Signed-off-by: Zheng Yongjun --- net/mpls/af_mpls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c index f2868a8a50c3..7e73611c48dd 100644 ---