From eb3ab2f85bff9a80b60d8c3da5f427fddc9b0dfd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 5 May 2010 22:48:56 +0800 Subject: bsc_msc: Add a connection timeout for the MSC. When no one is listening our connection would get stuck in the SYN_SENT state and we would be there forever. --- openbsc/include/openbsc/bsc_msc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/bsc_msc.h b/openbsc/include/openbsc/bsc_msc.h index ce21bfe43..041de256e 100644 --- a/openbsc/include/openbsc/bsc_msc.h +++ b/openbsc/include/openbsc/bsc_msc.h @@ -36,6 +36,7 @@ struct bsc_msc_connection { void (*connection_loss) (struct bsc_msc_connection *); void (*connected) (struct bsc_msc_connection *); struct timer_list reconnect_timer; + struct timer_list timeout_timer; }; struct bsc_msc_connection *bsc_msc_create(const char *ip, int port); -- cgit v1.2.3