Searched hist:cf9c09e1f38c9878a2414a5262c65ba1fe4caf79 (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/xen/netfront/ |
H A D | netfront.c | diff cf9c09e1f38c9878a2414a5262c65ba1fe4caf79 Wed Sep 21 02:08:25 CEST 2011 Justin T. Gibbs <gibbs@FreeBSD.org> Correct suspend/resume support in the Netfront driver.
Sponsored by: BQ Internet
sys/dev/xen/netfront/netfront.c: o Implement netfront_suspend(), a specialized suspend handler for the netfront driver. This routine simply disables the carrier so the driver is idle during system suspend processing. o Fix a leak when re-initializing LRO during a link reset. o In netif_release_tx_bufs(), when cleaning up the grant references for our TX ring, use gnttab_end_foreign_access_ref instead of attempting to grant the page again. o In netif_release_tx_bufs(), we do not track mbufs associated with mbuf chains, but instead just free each mbuf directly. Use m_free(), not m_freem(), to avoid double frees of mbufs. o Refactor some code to enhance clarity.
Approved by: re MFC after: 1 week
|