From aed7de153b7e1be1f705d2c1d9fab10a813dd489 Mon Sep 17 00:00:00 2001 From: Flavio Kubota Date: Tue, 28 Dec 2010 22:25:20 -0200 Subject: [PATCH] Bug 1025: wimax-ipv4 script exists with signal SIGSEGV when nbSS>20 --- src/devices/wimax/bs-service-flow-manager.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/devices/wimax/bs-service-flow-manager.cc b/src/devices/wimax/bs-service-flow-manager.cc index 09cf53124..313a788c4 100644 --- a/src/devices/wimax/bs-service-flow-manager.cc +++ b/src/devices/wimax/bs-service-flow-manager.cc @@ -226,7 +226,11 @@ void BsServiceFlowManager::AllocateServiceFlows (const DsaReq &dsaReq, Cid cid) { ServiceFlow *serviceFlow = ProcessDsaReq (dsaReq, cid); + if (serviceFlow) { ScheduleDsaRsp (serviceFlow, cid); + } else { + NS_LOG_INFO ("No service Flow. Could not connect."); + } } void