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
fec8292d
Commit
fec8292d
authored
Jul 16, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipv4: Use calculated 'neigh' instead of re-evaluating dst->neighbour
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
faa28314
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/ipv4/ip_output.c
net/ipv4/ip_output.c
+1
-1
No files found.
net/ipv4/ip_output.c
View file @
fec8292d
...
@@ -210,7 +210,7 @@ static inline int ip_finish_output2(struct sk_buff *skb)
...
@@ -210,7 +210,7 @@ static inline int ip_finish_output2(struct sk_buff *skb)
if
(
hh
->
hh_len
)
if
(
hh
->
hh_len
)
return
neigh_hh_output
(
hh
,
skb
);
return
neigh_hh_output
(
hh
,
skb
);
else
else
return
dst
->
neighbour
->
output
(
skb
);
return
neigh
->
output
(
skb
);
}
}
if
(
net_ratelimit
())
if
(
net_ratelimit
())
printk
(
KERN_DEBUG
"ip_finish_output2: No header cache and no neighbour!
\n
"
);
printk
(
KERN_DEBUG
"ip_finish_output2: No header cache and no neighbour!
\n
"
);
...
...
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