From: Daniel Lezcano Date: Wed, 12 Sep 2007 12:57:09 +0000 (+0200) Subject: [NETNS]: Fix bad macro definition. X-Git-Tag: v2.6.24-rc1~1454^2~682 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a050c33f4a4d5babaf94a8ba6ae7a200135240b3;p=pandora-kernel.git [NETNS]: Fix bad macro definition. The macro definition is bad. When calling next_net_device with parameter name "dev", the resulting code is: struct net_device *dev = dev and that leads to an unexpected behavior. Especially when llc_core is compiled in, the kernel panics at boot time. The patchset change macro definition with static inline functions as they were defined before. Signed-off-by: Benjamin Thery Signed-off-by: Daniel Lezcano Signed-off-by: David S. Miller --- Reading git-diff-tree failed