[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100930.211708.216741810.davem@davemloft.net>
Date: Thu, 30 Sep 2010 21:17:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: PATCH net-next 1/2] ipv4: introduce __ip_dev_find()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 30 Sep 2010 15:31:56 +0200
> ip_dev_find(net, addr) finds a device given an IPv4 source address and
> takes a reference on it.
>
> Introduce __ip_dev_find(), taking a third argument, to optionally take
> the device reference. Callers not asking the reference to be taken
> should be in an rcu_read_lock() protected section.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists