[dpdk-stable] [PATCH] net/enic: fix seg fault on MTU update with non-setup queues

Ferruh Yigit ferruh.yigit at intel.com
Fri Apr 6 18:41:35 CEST 2018


On 4/5/2018 12:54 AM, John Daley wrote:
> The enic code called from rte_eth_dev_set_mtu() was assuming that the
> Rx queues are already set up via a call to rte_eth_tx_queue_setup().
> OVS calls rte_eth_dev_set_mtu() before rte_eth_rx_queue_setup() and
> a null pointer was dereferenced.
> 
> Fixes: c3e09182bcd6 ("net/enic: support scatter Rx in MTU update")
> Cc: stable at dpdk.org
> 
> Signed-off-by: John Daley <johndale at cisco.com>
> Reviewed-by: Hyong Youb Kim <hyonkim at cisco.com>

Applied to dpdk-next-net/master, thanks.


More information about the stable mailing list