mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
net/tls: mark sk->err being set as unlikely
Tell GCC sk->err is not likely to be set. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
163ab96b52
commit
93277b258f
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ static int tls_push_data(struct sock *sk,
|
||||||
~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | MSG_SENDPAGE_NOTLAST))
|
~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | MSG_SENDPAGE_NOTLAST))
|
||||||
return -ENOTSUPP;
|
return -ENOTSUPP;
|
||||||
|
|
||||||
if (sk->sk_err)
|
if (unlikely(sk->sk_err))
|
||||||
return -sk->sk_err;
|
return -sk->sk_err;
|
||||||
|
|
||||||
flags |= MSG_SENDPAGE_DECRYPTED;
|
flags |= MSG_SENDPAGE_DECRYPTED;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue