Fix for the Bug 5637 : When closing OutboundQueue close() should go prior to finishSh... 46/39746/2
authorAbbas Pareedkunju <abbas.pareedkunju@tcs.com>
Thu, 2 Jun 2016 05:53:07 +0000 (11:23 +0530)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Mon, 6 Jun 2016 09:01:06 +0000 (09:01 +0000)
commit8fc43f701528b47eabcbc2362a445f5f722cf944
tree9d9f663b40c33c649f66d2ff366cab419f4cfec5
parent78c308601f484d02be96ec0076436225dea59377
Fix for the Bug 5637 : When closing OutboundQueue close() should go prior to finishShutdown()
When device gets disconnected with outstanding entries in queue segment,
it could occur that entry.commit() gets invoked between segment.failAll()
and OutboundQueueProvider.close(). This fix to prevent this scenario.

Change-Id: Id297e7d4f10c7e31a550f94ac7d39f43e1320de1
Signed-off-by: Abbas Pareedkunju <abbas.pareedkunju@tcs.com>
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/AbstractOutboundQueueManager.java