commit | c7f547f89793f3da48ff1f93a53b1be7596b425b | [log] [tgz] |
---|---|---|
author | Daniel Willmann <dwillmann@sysmocom.de> | Tue Jun 29 13:18:42 2021 +0200 |
committer | Daniel Willmann <dwillmann@sysmocom.de> | Tue Jun 29 13:18:42 2021 +0200 |
tree | 5c00d742253fbc3836e00cb2b6c813808d94f41d | |
parent | 3265ded36c678ce958293d886fc839a2bc4c714f [diff] |
ns2: Ignore NSVC with data_weight 0 for data Change-Id: If0c2bee285f85110771326e07b513fc3e3f9d3f0 Fixes: OS#5189
diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c index 3bf31a3..720e836 100644 --- a/src/gb/gprs_ns2.c +++ b/src/gb/gprs_ns2.c
@@ -414,6 +414,8 @@ mod = (bvci + load_selector) % nse->sum_data_weight; llist_for_each_entry(tmp, &nse->nsvc, list) { + if (tmp->data_weight == 0) + continue; if (!ns2_vc_is_unblocked(tmp)) continue; if (i == mod || mod < i + tmp->data_weight)