diff options
| author | Jia-Ju Bai <[email protected]> | 2021-03-08 09:13:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-08 23:02:53 +0000 |
| commit | 179d0ba0c454057a65929c46af0d6ad986754781 (patch) | |
| tree | 1c98c5e29f458d1849ac09e78c1cd927dab3e61d /scripts/clang-tools/gen_compile_commands.py | |
| parent | mptcp: fix length of ADD_ADDR with port sub-option (diff) | |
| download | kernel-179d0ba0c454057a65929c46af0d6ad986754781.tar.gz kernel-179d0ba0c454057a65929c46af0d6ad986754781.zip | |
net: qrtr: fix error return code of qrtr_sendmsg()
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 <[email protected]>
Signed-off-by: Jia-Ju Bai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
