Subject: Re: [PATCH net-next 1/1] net: wwan: t7xx: Add port for modem logging

From: Jakub Kicinski <[email-masked]>
Date: Fri, 20 May 2022 10:37:11 -0700

On Thu, 19 May 2022 11:27:03 -0700 Moises Veleta wrote:
> +	ret = copy_from_user(skb_put(skb, actual_len), buf, actual_len);
> +	if (ret) {
> +		ret = -EFAULT;
> +		goto err_out;
> +	}
> +
> +	ret = t7xx_port_send_skb(port, skb, 0, 0);
> +	if (ret)
> +		goto err_out;

We don't allow using debugfs to pass random data from user space 
to firmware in networking. You need to find another way.