X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fkernel%2Flantiq%2Fltq-ptm%2Fsrc%2Fifxmips_ptm_vdsl.c;h=1b9b710bfb7359ddb1b10c39c5b72c57982b6aba;hb=aa1118c79b51575c7963c1139d484de5a21a63c1;hp=745eb03321d5f3a376c2a04034e733766526dfc5;hpb=618984339a470f0006797facda8e22736282639d;p=lede-git%2F.git diff --git a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c index 745eb03321..1b9b710bfb 100644 --- a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c +++ b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c @@ -256,8 +256,8 @@ static int ptm_napi_poll(struct napi_struct *napi, int budget) // clear interrupt IFX_REG_W32_MASK(0, 1, MBOX_IGU1_ISRC); // no more traffic - if ( WAN_RX_DESC_BASE[g_ptm_priv_data.itf[0].rx_desc_pos].own ) { // if PP32 hold descriptor - napi_complete(napi); + if (work_done < budget) { + napi_complete(napi); IFX_REG_W32_MASK(0, 1, MBOX_IGU1_IER); return work_done; }