summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2019-12-13 21:48:01 +0300
committerDavid S. Miller <davem@davemloft.net>2019-12-17 03:07:12 +0300
commit4aaf596148f4b518244cf2b02fafc53ad586dd6b (patch)
tree71f53483981f7cc654caa9f87234893e5746c284 /tools/perf/scripts/python/syscall-counts.py
parentdf18fa14629ae3ae10f51577642113ccc8ce87d1 (diff)
downloadlinux-4aaf596148f4b518244cf2b02fafc53ad586dd6b.tar.xz
vsock/virtio: add WARN_ON check on virtio_transport_get_ops()
virtio_transport_get_ops() and virtio_transport_send_pkt_info() can only be used on connecting/connected sockets, since a socket assigned to a transport is required. This patch adds a WARN_ON() on virtio_transport_get_ops() to check this requirement, a comment and a returned error on virtio_transport_send_pkt_info(), Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions