[ovs-dev] [PATCH 2/6] dpif-netdev: Skip invoking qsort on empty list.
Ben Pfaff
blp at ovn.org
Tue Jun 20 02:35:08 UTC 2017
On Mon, Jun 19, 2017 at 07:54:00PM +0100, Bhanuprakash Bodireddy wrote:
> sorted_poll_list() returns the sorted list of rxqs mapped to PMD thread
> along with the rxq count. Skip sorting the list if there are no rxqs
> mapped to the PMD thread. This can be reproduced with manual pinning and
> 'dpif-netdev/pmd-rxq-show' command.
>
> Also Clang reports that null argument is passed to qsort in this case.
>
> Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
Thanks! Applied to master and branch-2.7.
More information about the dev
mailing list