Skip to content

Commit

Permalink
[NETNS]: Compilation fix for include/linux/netdevice.h.
Browse files Browse the repository at this point in the history
Commit commit c346dca
([NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS)
breaks compilation with CONFIG_NET_NS set.

Fix the typo.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Mar 26, 2008
1 parent 14eabf7 commit 9c2f574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ static inline
void dev_net_set(struct net_device *dev, const struct net *net)
{
#ifdef CONFIG_NET_NS
dev->nd_dev = net;
dev->nd_net = net;
#endif
}

Expand Down

0 comments on commit 9c2f574

Please sign in to comment.