Date: Fri, 15 May 2015 07:07:38 +0000 (UTC) From: Marcelo Araujo <araujo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r282943 - stable/10/sys/dev/ixl Message-ID: <201505150707.t4F77cLh052598@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: araujo (ports committer) Date: Fri May 15 07:07:37 2015 New Revision: 282943 URL: https://svnweb.freebsd.org/changeset/base/282943 Log: MFC r282939: Free vsi->queues after use. Modified: stable/10/sys/dev/ixl/if_ixlv.c Modified: stable/10/sys/dev/ixl/if_ixlv.c ============================================================================== --- stable/10/sys/dev/ixl/if_ixlv.c Fri May 15 06:50:59 2015 (r282942) +++ stable/10/sys/dev/ixl/if_ixlv.c Fri May 15 07:07:37 2015 (r282943) @@ -1646,7 +1646,6 @@ ixlv_setup_queues(struct ixlv_sc *sc) return (0); fail: - free(vsi->queues, M_DEVBUF); for (int i = 0; i < vsi->num_queues; i++) { que = &vsi->queues[i]; rxr = &que->rxr; @@ -1656,6 +1655,7 @@ fail: if (txr->base) i40e_free_dma_mem(&sc->hw, &txr->dma); } + free(vsi->queues, M_DEVBUF); early: return (error);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505150707.t4F77cLh052598>