linux driver: remove timeouts from read and write

read() and write() calls are now blocking calls
linux driver: fix TX routines

This commit improves buffer accounting and locking in the TX paths.
linux driver: fix RX routines

This commit improves buffer accounting and locking in the RX paths.