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
511db023
Commit
511db023
authored
Jul 06, 2003
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6] remove unused variable
parent
c519e7cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
net/ipv6/addrconf.c
net/ipv6/addrconf.c
+0
-3
No files found.
net/ipv6/addrconf.c
View file @
511db023
...
@@ -1380,11 +1380,8 @@ void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len)
...
@@ -1380,11 +1380,8 @@ void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len)
if
(
pinfo
->
autoconf
&&
in6_dev
->
cnf
.
autoconf
)
{
if
(
pinfo
->
autoconf
&&
in6_dev
->
cnf
.
autoconf
)
{
struct
inet6_ifaddr
*
ifp
;
struct
inet6_ifaddr
*
ifp
;
struct
in6_addr
addr
;
struct
in6_addr
addr
;
int
plen
;
int
create
=
0
;
int
create
=
0
;
plen
=
pinfo
->
prefix_len
>>
3
;
if
(
pinfo
->
prefix_len
==
64
)
{
if
(
pinfo
->
prefix_len
==
64
)
{
memcpy
(
&
addr
,
&
pinfo
->
prefix
,
8
);
memcpy
(
&
addr
,
&
pinfo
->
prefix
,
8
);
if
(
ipv6_generate_eui64
(
addr
.
s6_addr
+
8
,
dev
)
&&
if
(
ipv6_generate_eui64
(
addr
.
s6_addr
+
8
,
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