]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 307876:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 5 Dec 2016 23:46:21 +0000 (23:46 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 5 Dec 2016 23:46:21 +0000 (23:46 +0000)
commitdfde96fd1ec8f1e2319283cf0ebfcc1bce3112a3
tree911e134d0b426499935fcf3f11d056c22c04f7ad
parentf4050ebe35f17f4296d960ecc8b2a6a89d45e61e
MFC 307876:
cxgbe(4): Fix bug in the calculation of the number of physically
contiguous regions in an mbuf chain.

If the payload of an mbuf ends at a page boundary count_mbuf_nsegs would
incorrectly consider the next mbuf's payload physically contiguous based
solely on a KVA comparison.

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