lkml.org 
[lkml]   [2005]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[git patch] urgent e1000 fix
    Please pull from 'misc-fixes' branch of
    rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git

    to obtain the spinlock fix described in the attached text.


    drivers/net/e1000/e1000_main.c | 1 +
    1 files changed, 1 insertion(+)


    Mitch Williams:
    e1000: fix spinlock bug


    diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
    --- a/drivers/net/e1000/e1000_main.c
    +++ b/drivers/net/e1000/e1000_main.c
    @@ -2307,6 +2307,7 @@ e1000_xmit_frame(struct sk_buff *skb, st
    tso = e1000_tso(adapter, skb);
    if (tso < 0) {
    dev_kfree_skb_any(skb);
    + spin_unlock_irqrestore(&adapter->tx_lock, flags);
    return NETDEV_TX_OK;
    }
    \
     
     \ /
      Last update: 2005-06-23 11:36    [W:0.020 / U:117.704 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site