Date: Mon, 16 May 2016 10:51:35 +0000 (UTC) From: Andriy Voskoboinyk <avos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299937 - head/sys/dev/rtwn Message-ID: <201605161051.u4GApZ9L040923@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avos Date: Mon May 16 10:51:35 2016 New Revision: 299937 URL: https://svnweb.freebsd.org/changeset/base/299937 Log: rtwn: fix double free in raw xmit path. Reported by: mva Modified: head/sys/dev/rtwn/if_rtwn.c Modified: head/sys/dev/rtwn/if_rtwn.c ============================================================================== --- head/sys/dev/rtwn/if_rtwn.c Mon May 16 10:48:51 2016 (r299936) +++ head/sys/dev/rtwn/if_rtwn.c Mon May 16 10:51:35 2016 (r299937) @@ -1789,7 +1789,6 @@ rtwn_raw_xmit(struct ieee80211_node *ni, } if (rtwn_tx(sc, m, ni) != 0) { - m_freem(m); RTWN_UNLOCK(sc); return (EIO); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605161051.u4GApZ9L040923>