Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3a44abe4
Commit
3a44abe4
authored
Sep 28, 2003
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o NET: move net/core/dv.c EXPORT_SYMBOLs from net/netsyms.c
parent
37e07e20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
22 deletions
+16
-22
net/core/dv.c
net/core/dv.c
+16
-15
net/netsyms.c
net/netsyms.c
+0
-7
No files found.
net/core/dv.c
View file @
3a44abe4
...
...
@@ -10,6 +10,7 @@
* Dave Miller: improvement on the code (correctness, performance and source files)
*
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
...
...
@@ -237,7 +238,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return
-
EINVAL
;
}
;
}
break
;
...
...
@@ -281,7 +282,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return
-
EINVAL
;
}
;
}
break
;
...
...
@@ -301,7 +302,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return
-
EINVAL
;
}
;
}
break
;
...
...
@@ -321,7 +322,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return
-
EINVAL
;
}
;
}
break
;
...
...
@@ -337,7 +338,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return
-
EINVAL
;
}
;
}
break
;
...
...
@@ -353,7 +354,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return
-
EINVAL
;
}
;
}
break
;
...
...
@@ -373,7 +374,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return
-
EINVAL
;
}
;
}
break
;
...
...
@@ -389,7 +390,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return
-
EINVAL
;
}
;
}
break
;
...
...
@@ -405,7 +406,7 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return
-
EINVAL
;
}
;
}
break
;
...
...
@@ -425,19 +426,19 @@ int divert_ioctl(unsigned int cmd, struct divert_cf *arg)
default:
return
-
EINVAL
;
}
;
}
break
;
default:
return
-
EINVAL
;
}
;
}
break
;
default:
return
-
EINVAL
;
}
;
}
return
0
;
}
...
...
@@ -550,8 +551,8 @@ void divert_frame(struct sk_buff *skb)
}
}
break
;
};
return
;
}
}
EXPORT_SYMBOL
(
alloc_divert_blk
);
EXPORT_SYMBOL
(
free_divert_blk
);
net/netsyms.c
View file @
3a44abe4
...
...
@@ -29,9 +29,6 @@
#include <linux/if_bridge.h>
#include <linux/if_vlan.h>
#include <linux/random.h>
#ifdef CONFIG_NET_DIVERT
#include <linux/divert.h>
#endif
/* CONFIG_NET_DIVERT */
#ifdef CONFIG_INET
#include <net/protocol.h>
...
...
@@ -69,10 +66,6 @@ EXPORT_SYMBOL(make_EII_client);
EXPORT_SYMBOL
(
destroy_EII_client
);
#endif
#ifdef CONFIG_NET_DIVERT
EXPORT_SYMBOL
(
alloc_divert_blk
);
EXPORT_SYMBOL
(
free_divert_blk
);
#endif
/* CONFIG_NET_DIVERT */
#ifdef CONFIG_INET
/* Internet layer registration */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment