When userland lists a range of objects, dummynet_get() sizes the
buffer from the request, and ipfw(8) and dnctl(8) retry with a bigger
one if the reply may be truncated. copy_obj() and copy_obj_q() still
log every stop as an error, so "ipfw queue N show" with many dynamic
queues prints "copy_obj_q ERROR ... have 16 need 96" although the
listing is complete.
Keep the error for a bad object and log the full buffer only at debug
level 3 and above.
PR: 290420
Reported by: dimka@dz.dn.ua
Sponsored by: Advanced Micro Devices, Inc.
Signed-off-by: Osvaldo Janeri Filho <ojanerif@amd.com>