Date: Sun, 18 Aug 2013 20:40:13 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254500 - head/sys/net80211 Message-ID: <201308182040.r7IKeDsL035058@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Sun Aug 18 20:40:13 2013 New Revision: 254500 URL: http://svnweb.freebsd.org/changeset/base/254500 Log: Return the correct status if ieee80211_ff_check() consumes the mbuf. I broke this when converting the net80211 TX path to use if_transmit. Modified: head/sys/net80211/ieee80211_output.c Modified: head/sys/net80211/ieee80211_output.c ============================================================================== --- head/sys/net80211/ieee80211_output.c Sun Aug 18 20:11:34 2013 (r254499) +++ head/sys/net80211/ieee80211_output.c Sun Aug 18 20:40:13 2013 (r254500) @@ -210,8 +210,7 @@ ieee80211_vap_pkt_send_dest(struct ieee8 m = ieee80211_ff_check(ni, m); if (m == NULL) { /* NB: any ni ref held on stageq */ - /* XXX better status? */ - return (ENOBUFS); + return (0); } } #endif /* IEEE80211_SUPPORT_SUPERG */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308182040.r7IKeDsL035058>