Buf fix in can_read/write().