bgp: catch socket error with sendall
bgp: catch socket error with sendall

Signed-off-by: FUJITA Tomonori <93dac1fe9c4b2a3957982200319981492ad4976e@lab.ntt.co.jp>

TakeshiTseng/ryu,diogommartins/ryu,hisaharu/ryu,muzixing/ryu,haniehrajabi/ryu,habibiefaried/ryu,gopchandani/ryu,jalilm/ryu,osrg/ryu,fkakuma/ryu,haniehrajabi/ryu,zangree/ryu,gopchandani/ryu,hisaharu/ryu,iwaseyusuke/ryu,StephenKing/ryu,evanscottgray/ryu,castroflavio/ryu,Tejas-Subramanya/RYU_MEC,TakeshiTseng/ryu,zangree/ryu,jazzmes/ryu,gareging/SDN_Framework,castroflavio/ryu,TakeshiTseng/ryu,StephenKing/summerschool-2015-ryu,lsqtongxin/ryu,Zouyiran/ryu,lsqtongxin/ryu,Tejas-Subramanya/RYU_MEC,ysywh/ryu,iwaseyusuke/ryu,jkoelker/ryu,muzixing/ryu,fkakuma/ryu,takahashiminoru/ryu,shinpeimuraoka/ryu,iwaseyusuke/ryu,Zouyiran/ryu,torufuru/oolhackathon,lsqtongxin/ryu,hisaharu/ryu,jalilm/ryu,diogommartins/ryu,Tesi-Luca-Davide/ryu,yamt/ryu,gopchandani/ryu,fkakuma/ryu,Zouyiran/ryu,Zouyiran/ryu,pichuang/ryu,zangree/ryu,darjus-amzn/ryu,shinpeimuraoka/ryu,StephenKing/ryu,elahejalalpour/ELRyu,haniehrajabi/ryu,pichuang/ryu,ttsubo/ryu,gareging/SDN_Framework,darjus-amzn/ryu,castroflavio/ryu,umkcdcrg01/ryu_openflow,OpenState-SDN/ryu,Tesi-Luca-Davide/ryu,osrg/ryu,TakeshiTseng/ryu,John-Lin/ryu,alanquillin/ryu,muzixing/ryu,OpenState-SDN/ryu,ysywh/ryu,iwaseyusuke/ryu,fujita/ryu,alyosha1879/ryu,darjus-amzn/ryu,fujita/ryu,gopchandani/ryu,umkcdcrg01/ryu_openflow,ttsubo/ryu,alyosha1879/ryu,gopchandani/ryu,darjus-amzn/ryu,StephenKing/summerschool-2015-ryu,alyosha1879/ryu,elahejalalpour/ELRyu,diogommartins/ryu,jazzmes/ryu,jkoelker/ryu,StephenKing/ryu,Tesi-Luca-Davide/ryu,zyq001/ryu,Zouyiran/ryu,ynkjm/ryu,lagopus/ryu-lagopus-ext,elahejalalpour/ELRyu,fkakuma/ryu,ynkjm/ryu,haniehrajabi/ryu,alyosha1879/ryu,takahashiminoru/ryu,lzppp/mylearning,openvapour/ryu,zyq001/ryu,muzixing/ryu,lzppp/mylearning,openvapour/ryu,sivaramakrishnansr/ryu,zangree/ryu,John-Lin/ryu,ynkjm/ryu,elahejalalpour/ELRyu,fujita/ryu,fujita/ryu,lzppp/mylearning,Tesi-Luca-Davide/ryu,pichuang/ryu,evanscottgray/ryu,elahejalalpour/ELRyu,StephenKing/summerschool-2015-ryu,alanquillin/ryu,osrg/ryu,shinpeimuraoka/ryu,openvapour/ryu,zyq001/ryu,habibiefaried/ryu,lzppp/mylearning,pichuang/ryu,StephenKing/ryu,habibiefaried/ryu,John-Lin/ryu,alanquillin/ryu,gareging/SDN_Framework,Tejas-Subramanya/RYU_MEC,iwaseyusuke/ryu,yamt/ryu,lsqtongxin/ryu,hisaharu/ryu,ynkjm/ryu,takahashiminoru/ryu,alanquillin/ryu,yamt/ryu,John-Lin/ryu,yamt/ryu,sivaramakrishnansr/ryu,ysywh/ryu,darjus-amzn/ryu,lagopus/ryu-lagopus-ext,fujita/ryu,John-Lin/ryu,haniehrajabi/ryu,OpenState-SDN/ryu,sivaramakrishnansr/ryu,jazzmes/ryu,ttsubo/ryu,openvapour/ryu,gareging/SDN_Framework,habibiefaried/ryu,StephenKing/summerschool-2015-ryu,ttsubo/ryu,ttsubo/ryu,Tejas-Subramanya/RYU_MEC,zangree/ryu,hisaharu/ryu,jalilm/ryu,torufuru/oolhackathon,StephenKing/ryu,ysywh/ryu,jkoelker/ryu,diogommartins/ryu,lsqtongxin/ryu,zyq001/ryu,ysywh/ryu,Tejas-Subramanya/RYU_MEC,muzixing/ryu,TakeshiTseng/ryu,OpenState-SDN/ryu,fkakuma/ryu,Tesi-Luca-Davide/ryu,takahashiminoru/ryu,umkcdcrg01/ryu_openflow,openvapour/ryu,takahashiminoru/ryu,pichuang/ryu,lagopus/ryu-lagopus-ext,osrg/ryu,torufuru/oolhackathon,umkcdcrg01/ryu_openflow,habibiefaried/ryu,alanquillin/ryu,zyq001/ryu,osrg/ryu,jalilm/ryu,sivaramakrishnansr/ryu,diogommartins/ryu,evanscottgray/ryu,lagopus/ryu-lagopus-ext,OpenState-SDN/ryu,ynkjm/ryu,StephenKing/summerschool-2015-ryu,jalilm/ryu,lagopus/ryu-lagopus-ext,yamt/ryu,shinpeimuraoka/ryu,umkcdcrg01/ryu_openflow,sivaramakrishnansr/ryu,shinpeimuraoka/ryu,lzppp/mylearning,gareging/SDN_Framework