aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-08-29 05:21:30 -0400
committerDavid S. Miller <davem@davemloft.net>2020-08-31 12:33:34 -0700
commit5af68891dc16e1c8216705034a5e0144fd47779a (patch)
treea4b38a00fc4cd849aef3a975f4d26c315d58a78e /include/net/sock.h
parentcbc08a33126f8f721d30cf9034c4d444b55de60a (diff)
downloadlinux-5af68891dc16e1c8216705034a5e0144fd47779a.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 064637d1ddf60e..b943731fa879df 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);
}