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)
commit77676fdbd54f0c6fdb71d55d9758bebc69a00fc4
tree388bd73334ae4716b8d82879166a1c2a5639f0f0
parent766e9f1be128bcdc15aa7d07084d0d51e873b5ed
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