Thread (11 messages) flat view 11 messages, 4 authors, 2012-08-24

Re: [PATCH 1/2] ipv6: do not hold route table lock when send ndisc probe

From: Cong Wang <hidden>
Date: 2012-08-24 10:45:55

On Fri, 2012-08-24 at 11:44 +0200, Eric Dumazet wrote:
On Fri, 2012-08-24 at 17:15 +0800, Cong Wang wrote:
quoted
Right... If we call dev_hold() in the work, it is possible that the work
is still not scheduled to running when we unregister the device. What's
more, we can't flush work here as we are holding a read lock.
You need a global list (and a single work, not one per req), so that a
notifier can flush it at demand.
Agreed. I will make a new patch.

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help