git: libdmsg - Fix incomplete write bug

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Mar 1 11:48:21 PST 2015


commit 7adbba5704794f93c64f0a2ac5dcc7fc09773123
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Mar 1 11:37:53 2015 -0800

    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.

Summary of changes:
 lib/libdmsg/msg.c | 130 +++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 118 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7adbba5704794f93c64f0a2ac5dcc7fc09773123


-- 
DragonFly BSD source repository


More information about the Commits mailing list