Re: [PATCH] net: qrtr: fix error return code of qrtr_sendmsg()

2021-03-08 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 8 Mar 2021 01:13:55 -0800 you wrote: > When sock_alloc_send_skb() returns NULL to skb, no error return code of > qrtr_sendmsg() is assigned. > To fix this bug, rc is assigned with -ENOMEM in this case. > > Fixes:

[PATCH] net: qrtr: fix error return code of qrtr_sendmsg()

2021-03-08 Thread Jia-Ju Bai
When sock_alloc_send_skb() returns NULL to skb, no error return code of qrtr_sendmsg() is assigned. To fix this bug, rc is assigned with -ENOMEM in this case. Fixes: 194ccc88297a ("net: qrtr: Support decoding incoming v2 packets") Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai ---