Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2019 16:04:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 234241] [ieee80211_crypto_decap] mbuf leak
Message-ID:  <bug-234241-21060-VFjjN4CvXr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234241-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234241-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234241

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: avos
Date: Sat Jan 19 16:04:26 UTC 2019
New revision: 343190
URL: https://svnweb.freebsd.org/changeset/base/343190

Log:
  net80211: drop m_pullup call from ieee80211_crypto_decap.

  For most wireless drivers Rx mbuf is allocated as one
  contiguous chunk; only few are using chains for allocations -
  but even then at least MCLBYTES (minus Rx descriptor size) is
  available in the first mbuf.

  In addition to the above, m_pullup was never called here - otherwise,
  reallocation will break post-crypto_decap logic (ieee80211_decap,
  ieee80211_deliver_data...), so just remove it; length check is left
  in case if some truncated frame appears here.

  PR:           234241
  MFC after:    1 week

Changes:
  head/sys/net80211/ieee80211_crypto.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234241-21060-VFjjN4CvXr>