]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/fib_frontend.c
net: avoid a dev refcount in ip_mc_find_dev()
[net-next-2.6.git] / net / ipv4 / fib_frontend.c
index 3df057e896403a9e557ac0dd65688874fe4ac0df..36e27c2107de9f8286e7848c9b0dfe3560ab2907 100644 (file)
@@ -153,7 +153,7 @@ static void fib_flush(struct net *net)
  * @addr: the source address
  * @devref: if true, take a reference on the found device
  *
- * If a caller uses devref=false, it should be protected by RCU
+ * If a caller uses devref=false, it should be protected by RCU, or RTNL
  */
 struct net_device *__ip_dev_find(struct net *net, __be32 addr, bool devref)
 {