projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14eabf7
)
[NETNS]: Compilation fix for include/linux/netdevice.h.
author
Denis V. Lunev
<den@openvz.org>
Wed, 26 Mar 2008 07:47:14 +0000
(
00:47
-0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 26 Mar 2008 07:47:14 +0000
(
00:47
-0700)
Commit commit
c346dca10840a874240c78efe3f39acf4312a1f2
([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>
include/linux/netdevice.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/netdevice.h
b/include/linux/netdevice.h
index d146be40f46c50df1a63cc3619af248ced86a3b9..06ca84d71db44cc6afbd87a135e9fdcfe78e3060 100644
(file)
--- a/
include/linux/netdevice.h
+++ b/
include/linux/netdevice.h
@@
-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
}