[Devel] Re: [net-2.6.24][NETNS][patch 3/3] fix bad macro definition
David Miller
davem at davemloft.net
Wed Sep 12 05:58:07 PDT 2007
From: dlezcano at fr.ibm.com
Date: Wed, 12 Sep 2007 14:38:14 +0200
> From: Daniel Lezcano <dlezcano at fr.ibm.com>
>
> 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 <benjamin.thery at bull.net>
> Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
Applied, thanks.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list