tipc: make broadcast bearer store in bearer_list array
[deliverable/linux.git] / net / tipc / bearer.c
index 826b7010ab696278a7676a7277bfb6f50004b5af..ed45f9717af1fc1a359eac245b33f98887e9707e 100644 (file)
@@ -49,7 +49,7 @@ static struct tipc_media * const media_info_array[] = {
        NULL
 };
 
-struct tipc_bearer *bearer_list[MAX_BEARERS];
+struct tipc_bearer *bearer_list[MAX_BEARERS + 1];
 
 static void bearer_disable(struct tipc_bearer *b_ptr, bool shutting_down);
 
This page took 0.023856 seconds and 5 git commands to generate.