• M
    ath10k: prevent CE from looping indefinitely · 5440ce25
    Michal Kazior 提交于
    The double while() could end up running forever.
    Inner while() would complete very fast. However
    the completion processing could take enough time
    for more completions to flow in. In that case the
    outer while() would not terminate and run again,
    and again. This could happen especially on a slow
    host system.
    
    This could lead to a system freeze during heavy
    traffic. Note: this doesn't solve all known
    starvation issues yet.
    Signed-off-by: NMichal Kazior <michal.kazior@tieto.com>
    Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
    5440ce25
ce.h 15.2 KB