Do not reschedule flush when channel is up and not writable 14/20714/1
authorRobert Varga <rovarga@cisco.com>
Tue, 19 May 2015 11:45:09 +0000 (13:45 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 19 May 2015 11:45:09 +0000 (13:45 +0200)
commit491faf19aef765281f32ac787f9fab9a3b459b7d
tree03d2c2fa49c4ba6d518cf59709a69ba5e35180cb
parent5430767b0b533d1db017b2c4fce88150ac25f50c
Do not reschedule flush when channel is up and not writable

Shutdown logic checks removed a ciritical check for channel writability
during reschedule. The problem is that an inactive channel is not
writable, hence we need to check for two conditions.

Change-Id: I2c0a79d5f7b8d9cbaec0eaeb553a6f4ecc74f391
Signed-off-by: Robert Varga <rovarga@cisco.com>
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/OutboundQueueManager.java