From: Richard Sailer <richard_siegfr...@systemli.org>
Date: Sat, 30 May 2020 18:31:59 +0200

> @@ -375,6 +375,14 @@ int dccp_ioctl(struct sock *sk, int cmd, unsigned long 
> arg)
>               goto out;
>  
>       switch (cmd) {
> +     case SIOCOUTQ: {
> +             /* Using sk_wmem_alloc here because sk_wmem_queued is not used 
> by DCCP and
> +              * always 0, comparably to UDP.
> +              */
> +             int amount = sk_wmem_alloc_get(sk);
> +             rc = put_user(amount, (int __user *)arg);
> +     }
> +                    break;

Please fix this indentation.

Reply via email to