From owner-svn-src-all@FreeBSD.ORG Mon Feb 9 04:39:17 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F73A106566C; Mon, 9 Feb 2009 04:39:17 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F229E8FC16; Mon, 9 Feb 2009 04:39:16 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n194dG63045565; Mon, 9 Feb 2009 04:39:16 GMT (envelope-from weongyo@svn.freebsd.org) Received: (from weongyo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n194dGSK045564; Mon, 9 Feb 2009 04:39:16 GMT (envelope-from weongyo@svn.freebsd.org) Message-Id: <200902090439.n194dGSK045564@svn.freebsd.org> From: Weongyo Jeong Date: Mon, 9 Feb 2009 04:39:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188380 - head/sys/net80211 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 04:39:17 -0000 Author: weongyo Date: Mon Feb 9 04:39:16 2009 New Revision: 188380 URL: http://svn.freebsd.org/changeset/base/188380 Log: mark M_LASTFRAG at the last fragment. Reviewed by: sam MFC after: 3 weeks Modified: head/sys/net80211/ieee80211_output.c Modified: head/sys/net80211/ieee80211_output.c ============================================================================== --- head/sys/net80211/ieee80211_output.c Mon Feb 9 04:02:53 2009 (r188379) +++ head/sys/net80211/ieee80211_output.c Mon Feb 9 04:39:16 2009 (r188380) @@ -1376,6 +1376,9 @@ ieee80211_fragment(struct ieee80211vap * remainder -= payload; off += payload; } while (remainder != 0); + + /* set the last fragment */ + m->m_flags |= M_LASTFRAG; whf->i_fc[1] &= ~IEEE80211_FC1_MORE_FRAG; /* strip first mbuf now that everything has been copied */