]> git.baikalelectronics.ru Git - kernel.git/commit
vsock/virtio: a better comment on credit update
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 3 Sep 2019 07:38:16 +0000 (03:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 07:53:01 +0000 (09:53 +0200)
commitbe694b1069b577cd9a2916aa0341c284be392093
treefaa189cc53c654723d6f0f57ce7c8c598314036f
parentcfcb6b290a63f90ba49ab6d3381d3865a26c63ef
vsock/virtio: a better comment on credit update

The comment we have is just repeating what the code does.
Include the *reason* for the condition instead.

Cc: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/vmw_vsock/virtio_transport_common.c