]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r268971 and r269032.
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 31 Jul 2014 23:04:41 +0000 (23:04 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 31 Jul 2014 23:04:41 +0000 (23:04 +0000)
commit2b6c95252f04f1ff2c6e0ef226b91a60dc432f44
tree05789cb6eda8c7fa52a3025f4990823fc8c81e87
parent102bfb584f041ce7ebb7f435cb25311746483edb
MFC r268971 and r269032.

r268971:
Simplify r267600, there's no need to distinguish between allocated and
inlined mbufs.

r269032:
cxgbe(4):  Keep track of the clusters that have to be freed by the
custom free routine (rxb_free) in the driver.  Fail MOD_UNLOAD with
EBUSY if any such cluster has been handed up to the kernel but hasn't
been freed yet.  This prevents a panic later when the cluster finally
needs to be freed but rxb_free is gone from the kernel.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269356 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/cxgbe/adapter.h
sys/dev/cxgbe/t4_main.c
sys/dev/cxgbe/t4_sge.c