]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Fix multipart datapath dumps.
authorBen Pfaff <blp@nicira.com>
Tue, 17 Jan 2012 13:33:39 +0000 (13:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2012 04:56:19 +0000 (23:56 -0500)
commitc247930ba1c3ac5ba4110247c3421a81847f9381
tree388bd73334ae4716b8d82879166a1c2a5639f0f0
parent3e7a7d149311bc0ca21fa8cc326fa414654702bd
openvswitch: Fix multipart datapath dumps.

The logic to split up the list of datapaths into multiple Netlink messages
was simply wrong, causing the list to be terminated after the first part.
Only about the first 50 datapaths would be dumped.  This fixes the
problem.

Reported-by: Paul Ingram <paul@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.c