diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-08-29 05:21:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-31 12:33:34 -0700 |
commit | 5af68891dc16e1c8216705034a5e0144fd47779a (patch) | |
tree | a4b38a00fc4cd849aef3a975f4d26c315d58a78e /include/net/sock.h | |
parent | cbc08a33126f8f721d30cf9034c4d444b55de60a (diff) | |
download | linux-stable-5af68891dc16e1c8216705034a5e0144fd47779a.tar.gz linux-stable-5af68891dc16e1c8216705034a5e0144fd47779a.tar.bz2 linux-stable-5af68891dc16e1c8216705034a5e0144fd47779a.zip |
net: clean up codestyle
This is a pure codestyle cleanup patch. No functional change intended.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 064637d1ddf6..b943731fa879 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -1478,7 +1478,7 @@ sk_rmem_schedule(struct sock *sk, struct sk_buff *skb, int size) { if (!sk_has_account(sk)) return true; - return size<= sk->sk_forward_alloc || + return size <= sk->sk_forward_alloc || __sk_mem_schedule(sk, size, SK_MEM_RECV) || skb_pfmemalloc(skb); } |