On Wed, Feb 22, 2017 at 10:24:13AM +0800, Yuanhan Liu wrote: > On Mon, Feb 20, 2017 at 10:04:46PM +0800, hanxue...@126.com wrote: > > From: Huanle Han <hanxue...@gmail.com> > > > > This commit fixs segment fault when rte_eth_dev_close() > > is called on a virtio dev more than once. > > Assigning zero after free to avoids freed memory to > > be accessed again. > > Thanks for the fix! And here are few more minor nits you might want be > awre of: > > - a fix patch needs a fixline (check http://dpdk.org/dev for howto just > in case you don't know) > > - if it fixes a fatal bug (like this one), it should also be picked (or > backported) to a specific stable release. In this case, you should add > Cc: sta...@dpdk.org > > just before your SoB (Signed-off-by).
Applied to dpdk-next-virtio with: Fixes: 69c80d4ef89b ("net/virtio: allocate queue at init stage") Cc: sta...@dpdk.org Thanks. --yliu