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
nexedi
linux
Commits
cc3425cd
Commit
cc3425cd
authored
Mar 27, 2012
by
Jeff Kirsher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
parents
fc2ed77b
94f826b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
net/ipv6/route.c
net/ipv6/route.c
+6
-2
No files found.
net/ipv6/route.c
View file @
cc3425cd
...
@@ -2474,8 +2474,12 @@ static int rt6_fill_node(struct net *net,
...
@@ -2474,8 +2474,12 @@ static int rt6_fill_node(struct net *net,
rcu_read_lock
();
rcu_read_lock
();
n
=
dst_get_neighbour_noref
(
&
rt
->
dst
);
n
=
dst_get_neighbour_noref
(
&
rt
->
dst
);
if
(
n
)
if
(
n
)
{
NLA_PUT
(
skb
,
RTA_GATEWAY
,
16
,
&
n
->
primary_key
);
if
(
nla_put
(
skb
,
RTA_GATEWAY
,
16
,
&
n
->
primary_key
)
<
0
)
{
rcu_read_unlock
();
goto
nla_put_failure
;
}
}
rcu_read_unlock
();
rcu_read_unlock
();
if
(
rt
->
dst
.
dev
)
if
(
rt
->
dst
.
dev
)
...
...
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