Don't clear other flags (e.g. CSUM_TCP) when setting CSUM_TSO. This was
causing TSO to break for the Xen netfront driver. Reviewed by: gibbs, rwatson MFC after: 7 days
This commit is contained in:
parent
063c00f467
commit
fc7b7bb0cb
@ -1048,7 +1048,7 @@ send:
|
||||
* XXX: Fixme: This is currently not the case for IPv6.
|
||||
*/
|
||||
if (tso) {
|
||||
m->m_pkthdr.csum_flags = CSUM_TSO;
|
||||
m->m_pkthdr.csum_flags |= CSUM_TSO;
|
||||
m->m_pkthdr.tso_segsz = tp->t_maxopd - optlen;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user