Date: Wed, 24 Feb 2010 01:44:39 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/cxgb cxgb_sge.c Message-ID: <201002240144.o1O1irHo081152@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
np 2010-02-24 01:44:39 UTC
FreeBSD src repository
Modified files:
sys/dev/cxgb cxgb_sge.c
Log:
SVN rev 204271 on 2010-02-24 01:44:39Z by np
Accessing an mbuf after it has been handed off to the hardware is a bad
race as it could already have been tx'd and freed by that time. Place
the bpf tap just _before_ writing the gen bit.
This fixes a panic when running tcpdump on a cxgb interface.
Revision Changes Path
1.82 +8 -22 src/sys/dev/cxgb/cxgb_sge.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002240144.o1O1irHo081152>
