[ovs-git] [openvswitch/ovs] 1cc1b5: dpif-netdev: Skip invoking qsort on empty list.
GitHub
noreply at github.com
Tue Jun 20 02:34:35 UTC 2017
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 1cc1b5f6b0c575fc4c71b0bc06702939f1124e19
https://github.com/openvswitch/ovs/commit/1cc1b5f6b0c575fc4c71b0bc06702939f1124e19
Author: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
Date: 2017-06-20 (Tue, 20 Jun 2017)
Changed paths:
M lib/dpif-netdev.c
Log Message:
-----------
dpif-netdev: Skip invoking qsort on empty list.
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>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Commit: f77ceea3b55c78d9a2b479cc4e8d440a1f59b179
https://github.com/openvswitch/ovs/commit/f77ceea3b55c78d9a2b479cc4e8d440a1f59b179
Author: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
Date: 2017-06-20 (Tue, 20 Jun 2017)
Changed paths:
M lib/dpctl.c
Log Message:
-----------
dpctl: Skip invoking qsort on empty list
Clang reports "Argument with 'nonnull' attribute passed null" warning.
Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Compare: https://github.com/openvswitch/ovs/compare/81765c00a138...f77ceea3b55c
More information about the git
mailing list