5aeca6 sd-bus: deal with cookie overruns

1 file Authored by Lennart Poettering 4 years ago, Committed by Packit Service 4 years ago,
    sd-bus: deal with cookie overruns
    
    Apparently this happens IRL. Let's carefully deal with issues like this:
    when we overrun, let's not go back to zero but instead leave the highest
    cookie bit set. We use that as indication that we are in "overrun
    territory", and then are particularly careful with checking cookies,
    i.e. that they haven't been used for still outstanding replies yet. This
    should retain the quick cookie generation behaviour we used to have, but
    permits dealing with overruns.
    
    Replaces: #11804
    Fixes: #11809
    (cherry picked from commit 1f82f5bb4237ed5f015daf93f818e9db95e764b8)
    
    Resolves: #1694999
    
    patch_name: 0201-sd-bus-deal-with-cookie-overruns.patch
    present_in_specfile: true
    location_in_specfile: 201
    squash_commits: true