Andrey V. Elsukov 8f64015c0e Use full buffer size in read(2) call, there is no need to preserve the
last byte of the buffer.

Since we call refresh_device_tbl() for any devctl event types - no need
to check the first byte of buffer. Remove these checks.

Also remove logging for the case of unknown devd message. It incorrectly
triggers when all devctl events are not fit into one buffer and part of
unread data will be read in the next pass.

When length of data readed from devctl is equal to sizeof(buf), then try
to read from socket again, to read full data.

MFC after:	2 weeks
2011-07-11 12:51:35 +00:00
..
2010-12-06 10:24:06 +00:00
2010-08-23 22:24:11 +00:00
2011-06-24 07:05:20 +00:00
2010-08-23 22:24:11 +00:00
2010-02-26 09:41:16 +00:00
2010-06-05 08:11:11 +00:00
2011-07-03 20:59:57 +00:00
2010-05-17 11:18:33 +00:00
2011-03-02 00:29:14 +00:00
2011-06-24 07:05:20 +00:00
2010-12-20 08:54:30 +00:00
2011-03-17 22:17:56 +00:00
2010-05-14 01:45:05 +00:00
2011-06-24 07:05:20 +00:00
2010-12-20 09:36:54 +00:00
2011-06-24 07:05:20 +00:00
2011-06-24 07:05:20 +00:00
2010-03-04 13:35:57 +00:00
2010-08-01 09:37:36 +00:00
2010-01-03 15:32:25 +00:00
2010-10-05 06:31:11 +00:00
2011-06-24 07:05:20 +00:00
2010-07-30 11:58:18 +00:00
2011-02-19 11:44:04 +00:00
2011-06-24 07:05:20 +00:00
2011-01-27 14:16:12 +00:00