smsqueue: There was a race/bug with a booting phone, paging and LU

It was possible to set the LAC=0 on a subscriber that just has
done a LU because it did not respond to a paging request.

E.g. when a phone is rebooting, a SMS being delivered, the phone
is doing the LU, sub_ready_for_sm will try to send a SMS (but the
phone is not ready yet and it will timeout), then the paging code will
send us an expiration note and we might set the LAC=0 for this
subscriber.

Ideally we would be able to stop the paging request once the subscriber
is authenticated and then hand this to the SMS layer, right now the
best thing to do is to detect that we will run into this problem and
not send the SMS, not try to set the LAC=0.
1 file changed
tree: 1a97c38f1fab4d76b2950e3bcdfcd14c4b92051d
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/
  5. README