From: Pavel Emelianov Date: Thu, 3 May 2007 22:13:45 +0000 (-0700) Subject: [NET]: Rework dev_base via list_head (v3) X-Git-Tag: v2.6.22-rc1~1036^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7562f876cd93800f2f8c89445f2a563590b24e09;p=pandora-kernel.git [NET]: Rework dev_base via list_head (v3) Cleanup of dev_base list use, with the aim to simplify making device list per-namespace. In almost every occasion, use of dev_base variable and dev->next pointer could be easily replaced by for_each_netdev loop. A few most complicated places were converted to using first_netdev()/next_netdev(). Signed-off-by: Pavel Emelianov Acked-by: Kirill Korotaev Signed-off-by: David S. Miller --- Reading git-diff-tree failed