lkml.org 
[lkml]   [2012]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[ 52/54] pch_gbe: Fixed the issue on which PC was frozen when link was downed.
    3.0-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Toshiharu Okada <toshiharu-linux@dsn.okisemi.com>

    commit 5f3a11419099d5cc010cfbfc524ca10d8fb81f89 upstream.

    When a link was downed during network use,
    there is an issue on which PC freezes.

    This patch fixed this issue.

    Signed-off-by: Toshiharu Okada <toshiharu-linux@dsn.okisemi.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>

    ---
    drivers/net/pch_gbe/pch_gbe_main.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/net/pch_gbe/pch_gbe_main.c
    +++ b/drivers/net/pch_gbe/pch_gbe_main.c
    @@ -2128,7 +2128,7 @@ static int pch_gbe_napi_poll(struct napi
    /* If no Tx and not enough Rx work done,
    * exit the polling mode
    */
    - if ((work_done < budget) || !netif_running(netdev))
    + if (work_done < budget)
    poll_end_flag = true;
    }




    \
     
     \ /
      Last update: 2012-05-19 02:01    [W:0.024 / U:34.164 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site