[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200412.205611.844961656085784911.davem@davemloft.net>
Date: Sun, 12 Apr 2020 20:56:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lesedorucalin01@...il.com
Cc: kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] net: UDP repair mode for retrieving the send queue of
corked UDP socket
From: Leşe Doru Călin <lesedorucalin01@...il.com>
Date: Wed, 8 Apr 2020 23:59:54 +0300
> +static int udp_peek_sndq(struct sock *sk, struct msghdr *msg, int off, int len)
> +{
> + struct sk_buff *skb;
> + int copied = 0, err = 0, copy;
Please use reverse christmas tree (longest to shortest) ordering for
local variables.
> +static int udp6_peek_sndq(struct sock *sk, struct msghdr *msg, int off, int len)
> +{
> + struct sk_buff *skb;
> + int copied = 0, err = 0, copy;
Likewise.
Thank you.
Powered by blists - more mailing lists