Fix vtnet TCP lro panic
Differential Revision: https://reviews.freebsd.org/D29900 Reviewed by: hps, kp
This commit is contained in:
parent
df456a1fcf
commit
4044af03a4
@ -2145,7 +2145,8 @@ vtnet_rxq_eof(struct vtnet_rxq *rxq)
|
|||||||
|
|
||||||
if (deq > 0) {
|
if (deq > 0) {
|
||||||
#if defined(INET) || defined(INET6)
|
#if defined(INET) || defined(INET6)
|
||||||
tcp_lro_flush_all(&rxq->vtnrx_lro);
|
if (vtnet_software_lro(sc))
|
||||||
|
tcp_lro_flush_all(&rxq->vtnrx_lro);
|
||||||
#endif
|
#endif
|
||||||
virtqueue_notify(vq);
|
virtqueue_notify(vq);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user