Re: [Patch] net: kill an RCU warning in inet_fill_link_af()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Wednesday, December 1, 2010 - 4:21 am

Le mercredi 01 décembre 2010 à 19:14 +0800, Amerigo Wang a écrit :

Sorry patch is not the right fix. Please take a look at commit 95ae6b22

We are working hard to remove all the not needed get()/put(), not to add
new ones ;)



In this function why should we even take a reference, just to check if
pointer exists ?

If RTNL is held (I believe so), just use __in_dev_get_rtnl()



In this function we hold RTNL...
 Please use __in_dev_get_rtnl()



Same here. RTNL is held. Please use __in_dev_get_rtnl()



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Patch] net: kill an RCU warning in inet_fill_link_af(), Eric Dumazet, (Wed Dec 1, 4:21 am)