diff options
author | gibbs <gibbs@FreeBSD.org> | 2011-09-21 00:08:25 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2011-09-21 00:08:25 +0000 |
commit | 1f5bdef0e413408ab593464fc7eff320610cecd9 (patch) | |
tree | bfaaa54ad624392c222e308a36f26fc4e8a964dd /lib/libc/stdlib/strfmon.c | |
parent | cb7d1fb4d84831a94b3fc4882947dff20780edf4 (diff) | |
download | FreeBSD-src-1f5bdef0e413408ab593464fc7eff320610cecd9.zip FreeBSD-src-1f5bdef0e413408ab593464fc7eff320610cecd9.tar.gz |
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
Diffstat (limited to 'lib/libc/stdlib/strfmon.c')
0 files changed, 0 insertions, 0 deletions