[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141106.164247.1655129194042333323.davem@davemloft.net>
Date: Thu, 06 Nov 2014 16:42:47 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: _govind@....com
Cc: ssujith@...co.com, netdev@...r.kernel.org
Subject: Re: [PATCH net 2/2] enic: update desc properly in rx_copybreak
From: Govindarajulu Varadarajan <_govind@....com>
Date: Thu, 6 Nov 2014 15:21:39 +0530
> When we reuse the rx buffer, we need to update the desc. If not hardware sees
> stale value.
>
> In the following crash, when mtu is changed, hardware sees old rx buffer value
> and crashes on skb_put.
>
> Fix this by using enic_queue_rq_desc helper function which updates the necessary
> desc.
...
> fixes: a03bb56e67c357980dae886683733dab5583dc14 ("enic: implement rx_copybreak")
> Signed-off-by: Govindarajulu Varadarajan <_govind@....com>
Also applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists