1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

The merge in r189699 reverted part of the work done in a previous commit

(r188036.)

Re-revert that change so the Xen networking functions again.
This commit is contained in:
Adrian Chadd 2009-05-18 04:56:37 +00:00
parent aa6aea0715
commit 3a5391225b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192286

View File

@ -1297,11 +1297,12 @@ xennet_get_responses(struct netfront_info *np,
gnttab_release_grant_reference(&np->gref_rx_head, ref);
next:
if (m != NULL) {
m->m_len = rx->status;
m->m_data += rx->offset;
m0->m_pkthdr.len += rx->status;
}
if (m == NULL)
break;
m->m_len = rx->status;
m->m_data += rx->offset;
m0->m_pkthdr.len += rx->status;
if (!(rx->flags & NETRXF_more_data))
break;