Re: [RTNETLINK 03/04]: Remove unnecessary locking in dump callbacks

From
David Miller <davem@davemloft.net>
Date
2007-04-17 00:01:17
Reply to
Patrick McHardy, 2007-04-16
From: Patrick McHardy <redacted>
Date: Mon, 16 Apr 2007 09:51:55 +0200 (MEST)
[RTNETLINK]: Remove unnecessary locking in dump callbacks

Since we're now holding the rtnl during the entire dump operation, we can
remove additional locking for rtnl protected data. This patch does that
for all simple cases (dev_base_lock for dev_base walking, RCU protection
for FIB rule dumping).

Signed-off-by: Patrick McHardy <redacted>
Applied, thanks.
Thread (10 messages) 10 messages, 2 authors, last reply 2007-04-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help