Changeset 40335


Ignore:
Timestamp:
2014-03-30T16:01:21+02:00 (4 years ago)
Author:
blogic
Message:

lantiq: fix ptm crash under load

https://dev.archive.openwrt.org/ticket/14581.html

Signed-off-by: John Crispin <blogic@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c

    r37007 r40335  
    257257    IFX_REG_W32_MASK(0, 1, MBOX_IGU1_ISRC); 
    258258    //  no more traffic 
    259     if ( WAN_RX_DESC_BASE[g_ptm_priv_data.itf[0].rx_desc_pos].own ) {   //  if PP32 hold descriptor 
    260         napi_complete(napi); 
     259    if (work_done < budget) { 
     260        napi_complete(napi); 
    261261        IFX_REG_W32_MASK(0, 1, MBOX_IGU1_IER); 
    262262        return work_done; 
Note: See TracChangeset for help on using the changeset viewer.