Home
last modified time | relevance | path

Searched hist:"339690 b541c40f5a14b32c8b103c70180a73fa52" (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/xen/netfront/
H A Dnetfront.cdiff 339690b541c40f5a14b32c8b103c70180a73fa52 Fri Jul 29 18:33:45 CEST 2016 Roger Pau Monné <royger@FreeBSD.org> xen-netfront: fix trying to send packets with disconnected netfront

In certain circumstances xn_txq_mq_start might be called with num_queues ==
0 during the resume phase after a migration, which can trigger a KASSERT.
Fix this by making sure the carrier is on before trying to transmit, or else
return that the queues are full.

Just as a note, I haven't been able to reproduce this crash on my test
systems, but I still think it's possible and worth fixing.

Reported by: Karl Pielorz <kpielorz_lst@tdx.co.uk>
Sponsored by: Citrix Systems R&D
MFC after: 5 days
Reviewed by: Wei Liu <wei.liu2@citrix.com>
Differential revision: https://reviews.freebsd.org/D7349