aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorAtul Gupta <[email protected]>2018-05-27 21:15:19 +0530
committerHerbert Xu <[email protected]>2018-05-31 00:13:58 +0800
commit3b8305f5c844685d00637a0ad155e90e423a4445 (patch)
tree7f9eefab8b29dbd5488af16d09d19b5828f67792 /lib/mpi/mpi-internal.h
parent09e53d8289477449ddd74cfff640792ca02fa90d (diff)
crypto: chtls - wait for memory sendmsg, sendpage
address suspicious code <[email protected]> 1210 set_bit(SOCK_NOSPACE, &sk->sk_socket->flags); 1211 } The issue is that in the code above, set_bit is never reached due to the 'continue' statement at line 1208. Also reported by bug report:<[email protected]> 1210 set_bit(SOCK_NOSPACE, &sk->sk_socket->flags); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Not reachable. Its required to wait for buffer in the send path and takes care of unaddress and un-handled SOCK_NOSPACE. v2: use csk_mem_free where appropriate proper indent of goto do_nonblock replace out with do_rm_wq Reported-by: Gustavo A. R. Silva <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Atul Gupta <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions