]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[NET]: Stop polling when napi_disable() is pending.
authorDavid S. Miller <davem@davemloft.net>
Tue, 8 Jan 2008 05:00:40 +0000 (21:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jan 2008 07:30:13 +0000 (23:30 -0800)
commitfed17f3094b960d3a54b10f17abbe4b57e976eec
treec4ee0aa07a23fef95768056655cd30a437dd59e0
parentd1d08d1265810ef1f165864850416dcbc9725ee7
[NET]: Stop polling when napi_disable() is pending.

This finally adds the code in net_rx_action() to break out of the
->poll()'ing loop when a napi_disable() is found to be pending.

Now, even if a device is being flooded with packets it can be cleanly
brought down.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c