Displaying 1 result from an estimated 1 matches for "network_resum".
Did you mean:
network_resume
2004 Apr 21
4
Resetting network device / skb leak
hi,
I seem to have a problem with the Linux xen-network driver leaking skbs.
This is probably my own fault, upon resumption after migration I call
this:
void network_resume(void)
{
struct net_device* dev = __dev_get_by_name("eth0");
MOD_DEC_USE_COUNT;
network_open(dev);
}
-- which works fine. However, in network_open() the call to
NETOP_RESET_RINGS seems to clear all the pointers to the old skbs, and
network_alloc_rx_buffers() allocs a bunch o...