ofproto: Report nonexistent ports and queues as errors in queue stats.
authorBen Pfaff <blp@nicira.com>
Mon, 11 Jun 2012 18:23:06 +0000 (11:23 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 27 Jun 2012 21:29:02 +0000 (14:29 -0700)
commit0414d1587788244b54455e8bc3b7ce87d45fdebe
tree975eb7c8c568c67e78a943a1a7619e1efd496564
parenta76150b18b28addfc39f8900a74c2eceaf8c69da
ofproto: Report nonexistent ports and queues as errors in queue stats.

Until now, Open vSwitch has ignored missing ports and queues in most cases
in queue stats requests, simply returning an empty set of statistics.
It seems that it is better to report an error, so this commit does this.

Reported-by: Prabina Pattnaik <Prabina.Pattnaik@nechclst.in>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
NEWS
ofproto/ofproto.c
tests/ofproto.at