From: Eric Dumazet Date: Thu, 30 Sep 2010 03:31:56 +0000 (+0000) Subject: ipv4: introduce __ip_dev_find() X-Git-Tag: v2.6.37-rc1~147^2~297 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82efee1499a27c06f5afb11b07db384fdb3f7004;p=pandora-kernel.git ipv4: introduce __ip_dev_find() 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed