datapath: Fix multipart datapath dumps.
authorBen Pfaff <blp@nicira.com>
Wed, 11 Jan 2012 17:58:17 +0000 (09:58 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 11 Jan 2012 17:59:53 +0000 (09:59 -0800)
commite05468208039a4bd012ed56f24393816df23a4e0
tree300b2e925e8df7b4854c84096c7ca54a3500c619
parenta2545c3997ea4e0896da8f0531ae271c8a6a95ef
datapath: 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.

Bug #9124.
Reported-by: Paul Ingram <paul@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c