Re: [PATCH] netpoll: break recursive loop in netpoll rx path

2006-06-12 Thread Neil Horman
On Mon, Jun 12, 2006 at 10:51:21AM -0500, Matt Mackall wrote: > On Mon, Jun 12, 2006 at 11:40:29AM -0400, Neil Horman wrote: > > Hey there- > > the netpoll system currently has a rx to tx path via: > > netpoll_rx > > __netpoll_rx > > arp_reply > >netpoll_send_skb > > dev->hard_start_

Re: [PATCH] netpoll: break recursive loop in netpoll rx path

2006-06-12 Thread Matt Mackall
On Mon, Jun 12, 2006 at 11:40:29AM -0400, Neil Horman wrote: > Hey there- > the netpoll system currently has a rx to tx path via: > netpoll_rx > __netpoll_rx > arp_reply >netpoll_send_skb > dev->hard_start_tx > > This rx->tx loop places network drivers at risk of > inadverte

[PATCH] netpoll: break recursive loop in netpoll rx path

2006-06-12 Thread Neil Horman
Hey there- the netpoll system currently has a rx to tx path via: netpoll_rx __netpoll_rx arp_reply netpoll_send_skb dev->hard_start_tx This rx->tx loop places network drivers at risk of inadvertently causing a deadlock or BUG halt by recursively trying to acquire a spinlo