diff options
| author | Stefano Stabellini <[email protected]> | 2018-12-21 23:06:32 +0000 |
|---|---|---|
| committer | Boris Ostrovsky <[email protected]> | 2019-01-02 16:00:31 +0000 |
| commit | d90a1ca60a1eccb4383fe203c76223ab4c0799ed (patch) | |
| tree | a4b61eaf0953ed2005a0ccb3a00d025b2addee56 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | pvcalls-front: properly allocate sk (diff) | |
| download | kernel-d90a1ca60a1eccb4383fe203c76223ab4c0799ed.tar.gz kernel-d90a1ca60a1eccb4383fe203c76223ab4c0799ed.zip | |
pvcalls-front: don't return error when the ring is full
When the ring is full, size == array_size. It is not an error condition,
so simply return 0 instead of an error.
Signed-off-by: Stefano Stabellini <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
