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
d403771c
Commit
d403771c
authored
Jun 03, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/core/dev.c: Make handle_diverter return 0
parent
454fe23c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
net/core/dev.c
net/core/dev.c
+2
-1
No files found.
net/core/dev.c
View file @
d403771c
...
@@ -1411,11 +1411,12 @@ static __inline__ int handle_bridge(struct sk_buff *skb,
...
@@ -1411,11 +1411,12 @@ static __inline__ int handle_bridge(struct sk_buff *skb,
#ifdef CONFIG_NET_DIVERT
#ifdef CONFIG_NET_DIVERT
static
inline
void
handle_diverter
(
struct
sk_buff
*
skb
)
static
inline
int
handle_diverter
(
struct
sk_buff
*
skb
)
{
{
/* if diversion is supported on device, then divert */
/* if diversion is supported on device, then divert */
if
(
skb
->
dev
->
divert
&&
skb
->
dev
->
divert
->
divert
)
if
(
skb
->
dev
->
divert
&&
skb
->
dev
->
divert
->
divert
)
divert_frame
(
skb
);
divert_frame
(
skb
);
return
0
;
}
}
#endif
/* CONFIG_NET_DIVERT */
#endif
/* CONFIG_NET_DIVERT */
...
...
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