From: Pavel Emelyanov Date: Wed, 8 Aug 2012 21:53:36 +0000 (+0000) Subject: net: Loopback ifindex is constant now X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~349 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fb9489bf190ce2b3fc03891f3de4b2d30600e28;p=pandora-kernel.git net: Loopback ifindex is constant now As pointed out, there are places, that access net->loopback_dev->ifindex and after ifindex generation is made per-net this value becomes constant equals 1. So go ahead and introduce the LOOPBACK_IFINDEX constant and use it where appropriate. Signed-off-by: Pavel Emelyanov Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed