diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2007-09-12 14:57:09 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 01:49:18 +0200 |
commit | a050c33f4a4d5babaf94a8ba6ae7a200135240b3 (patch) | |
tree | d47e7be9cb38e277e767601926e11a432dd86c39 /COPYING | |
parent | [NETNS]: Fix loopback network namespace initialization. (diff) | |
download | linux-a050c33f4a4d5babaf94a8ba6ae7a200135240b3.tar.xz linux-a050c33f4a4d5babaf94a8ba6ae7a200135240b3.zip |
[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 <benjamin.thery@bull.net>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions