Hi Leon,
On 9/25/2018 8:39 PM, Leon Romanovsky wrote:
Does it mean that remote user can spam local dmesg?
No, because the connection is closed right away.
But error is printed before you close the connection, so what will stop
from me to send bogus data in the loop?
Thanks
I guess in the worst case it will print <queue_depth> messages.
This will stop the loop.
Yes, its bound... We can switch it to pr_warn_ratelimited if this turns
out to be a real spammer.
Otherwise, looks good,
Reviewed-by: Sagi Grimberg <sagi@xxxxxxxxxxx>