os-ken/ryu
ISHIDA Wataru b65d6dc315 bgp: fix bug of accessing dead socket
BGP session can be closed by sending inappropriate messages.
So touching socket by get_peername() after sending messages may cause an
exception. Though we can handle this by try..exception, I fixed to simply
call get_peername() before sending messages because session disconnection by
sending messages is an ordinary procedure and not an exception(the peer will
send notification before disconnection).

Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2014-05-10 01:14:57 +09:00
..
app ryu.app.ofctl: raise exceptions on openflow error messages 2014-04-10 07:09:56 +09:00
base RyuApp: delete a key without handlers when unregistering a handler 2014-04-10 09:51:26 +09:00
cmd add bin/ryu 2014-04-20 21:00:51 +09:00
contrib Remove contrib/oslo directory 2013-07-28 13:50:18 +09:00
controller ofp_event: add a function to find Event class for given OFP class 2014-04-10 07:09:56 +09:00
lib packet/bgp: enhanced route refresh support 2014-05-10 01:14:56 +09:00
ofproto set default attributes for OFPPortMod 2014-05-10 00:17:12 +09:00
services bgp: fix bug of accessing dead socket 2014-05-10 01:14:57 +09:00
tests sw test tool: pylint 2014-05-10 00:17:12 +09:00
topology ryu.topology.api: request ryu.topology.switches 2014-03-25 23:22:14 +09:00
__init__.py Ryu 3.9 2014-05-01 17:49:39 +09:00
cfg.py ryu.cfg: re-export some more stuff for convenience 2014-04-20 20:59:14 +09:00
exception.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
flags.py reduce direct uses of oslo.config.cfg.CONF 2014-03-16 20:28:10 +09:00
hooks.py Fix Windows setup dependency bug 2014-01-06 20:32:05 +09:00
log.py reduce direct uses of oslo.config.cfg.CONF 2014-03-16 20:28:10 +09:00
utils.py of13: Add experimenter property to table features reply unit test 2014-02-27 09:19:00 +09:00