Fix racecondition in AsyncSshHandlerWriter 94/19794/2
authorTomas Cere <tcere@cisco.com>
Thu, 7 May 2015 11:39:51 +0000 (13:39 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 12 May 2015 07:43:40 +0000 (07:43 +0000)
commit63bf2c78aab8a4a48201877a5b5de255ff3cdf75
tree2c92f1e8b8b42252075b3585bfb7c23c8a4a61fd
parent7049800718ec3d481a04f56550ccce5404a0300b
Fix racecondition in AsyncSshHandlerWriter

Fixed racecondition between releasing of netty ByteBuff and removing the msg from pendingWrites.

Change-Id: I40eff55d9c7858534d105a242d3ec6feb9d950d0
Signed-off-by: Tomas Cere <tcere@cisco.com>
opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerWriter.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.