From owner-cvs-src-old@FreeBSD.ORG Thu Jul 8 14:59:40 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76E891065674 for ; Thu, 8 Jul 2010 14:59:39 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4A9D08FC19 for ; Thu, 8 Jul 2010 14:59:39 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o68ExdLn062272 for ; Thu, 8 Jul 2010 14:59:39 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o68ExdK3062271 for cvs-src-old@freebsd.org; Thu, 8 Jul 2010 14:59:39 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201007081459.o68ExdK3062271@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Thu, 8 Jul 2010 14:59:32 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/mips/atheros if_arge.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 14:59:40 -0000 adrian 2010-07-08 14:59:32 UTC FreeBSD src repository Modified files: sys/mips/atheros if_arge.c Log: SVN rev 209807 on 2010-07-08 14:59:32Z by adrian Address PR kern/148307 - fix if_ath TX mbuf alignment/size constraint checks The existing code only checked the alignment of the first mbuf and didn't enforce the size constraints. This commit introduces a simple function to check the alignment and size of all mbufs in the list. This fixes the initial issue in the PR. PR: kern/148307 Reviewed by: gonzo@ Revision Changes Path 1.5 +23 -1 src/sys/mips/atheros/if_arge.c