libdmsg - Fix incomplete write bug
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 1 Mar 2015 19:37:53 +0000 (11:37 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 1 Mar 2015 19:37:53 +0000 (11:37 -0800)
commit7adbba5704794f93c64f0a2ac5dcc7fc09773123
tree8b2104bf43c3243e6aaf47409291e4abe0bdbf8b
parentdce51b267a9d37e95d72beb0c9d6cf69b8e283a1
libdmsg - Fix incomplete write bug

* Fix a bug where a partial non-blocking write of encrypted data does not
  properly set the WREQ flag if the related dmsg has been disposed of.
  This could cause random stalls of the link.

* Fix an errno-handling bug.

* Cleanup and debugging.
lib/libdmsg/msg.c