projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NET]: Make the device list and device lookups per namespace.
[deliverable/linux.git]
/
net
/
llc
/
llc_core.c
diff --git
a/net/llc/llc_core.c
b/net/llc/llc_core.c
index d4b13a031fd5e0375f3f76c74eb7c676c894fc4b..248b5903bb1348e07f594e5f54119963de82f365 100644
(file)
--- a/
net/llc/llc_core.c
+++ b/
net/llc/llc_core.c
@@
-19,6
+19,7
@@
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/init.h>
+#include <net/net_namespace.h>
#include <net/llc.h>
LIST_HEAD(llc_sap_list);
#include <net/llc.h>
LIST_HEAD(llc_sap_list);
@@
-162,7
+163,7
@@
static int __init llc_init(void)
{
struct net_device *dev;
{
struct net_device *dev;
- dev = first_net_device();
+ dev = first_net_device(
&init_net
);
if (dev != NULL)
dev = next_net_device(dev);
if (dev != NULL)
dev = next_net_device(dev);
This page took
0.026664 seconds
and
5
git commands to generate.