sms: Rewrite the queue to find SMS harder.

With the old code it was possible that we first saw SMS that
we have already in the queue. In that case we had free slots
available but have not filled them. With his new loop we try
harder to find SMS we can send, it attempts (and should work)
to detect a loop to break the loop before finding SMS to deliver.
1 file changed
tree: d8faff6ce0f0799338a6d8aa64ecb9edf74ac890
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/