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
dbdb44de
Commit
dbdb44de
authored
Feb 10, 2004
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Spelling corrections, and remove some XXX's
parent
e6694870
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
10 deletions
+10
-10
net/ipv6/addrconf.c
net/ipv6/addrconf.c
+1
-1
net/ipv6/exthdrs.c
net/ipv6/exthdrs.c
+1
-1
net/ipv6/ip6_fib.c
net/ipv6/ip6_fib.c
+1
-1
net/ipv6/ip6_tunnel.c
net/ipv6/ip6_tunnel.c
+1
-1
net/ipv6/ndisc.c
net/ipv6/ndisc.c
+2
-2
net/ipv6/raw.c
net/ipv6/raw.c
+3
-3
net/ipv6/route.c
net/ipv6/route.c
+1
-1
No files found.
net/ipv6/addrconf.c
View file @
dbdb44de
...
@@ -1071,7 +1071,7 @@ static int ipv6_generate_eui64(u8 *eui, struct net_device *dev)
...
@@ -1071,7 +1071,7 @@ static int ipv6_generate_eui64(u8 *eui, struct net_device *dev)
eui
[
0
]
^=
2
;
eui
[
0
]
^=
2
;
return
0
;
return
0
;
case
ARPHRD_ARCNET
:
case
ARPHRD_ARCNET
:
/* XXX: inherit EUI-64 fro
m
other interface -- yoshfuji */
/* XXX: inherit EUI-64 fro
m
other interface -- yoshfuji */
if
(
dev
->
addr_len
!=
ARCNET_ALEN
)
if
(
dev
->
addr_len
!=
ARCNET_ALEN
)
return
-
1
;
return
-
1
;
memset
(
eui
,
0
,
7
);
memset
(
eui
,
0
,
7
);
...
...
net/ipv6/exthdrs.c
View file @
dbdb44de
...
@@ -120,7 +120,7 @@ static int ip6_parse_tlv(struct tlvtype_proc *procs, struct sk_buff *skb)
...
@@ -120,7 +120,7 @@ static int ip6_parse_tlv(struct tlvtype_proc *procs, struct sk_buff *skb)
for
(
curr
=
procs
;
curr
->
type
>=
0
;
curr
++
)
{
for
(
curr
=
procs
;
curr
->
type
>=
0
;
curr
++
)
{
if
(
curr
->
type
==
skb
->
nh
.
raw
[
off
])
{
if
(
curr
->
type
==
skb
->
nh
.
raw
[
off
])
{
/* type specific length/alignment
/* type specific length/alignment
checks will be perfomed in the
checks will be perfo
r
med in the
func(). */
func(). */
if
(
curr
->
func
(
skb
,
off
)
==
0
)
if
(
curr
->
func
(
skb
,
off
)
==
0
)
return
0
;
return
0
;
...
...
net/ipv6/ip6_fib.c
View file @
dbdb44de
...
@@ -85,7 +85,7 @@ static struct fib6_node * fib6_repair_tree(struct fib6_node *fn);
...
@@ -85,7 +85,7 @@ static struct fib6_node * fib6_repair_tree(struct fib6_node *fn);
/*
/*
* A routing update causes an increase of the serial number on the
* A routing update causes an increase of the serial number on the
* afected subtree. This allows for cached routes to be asynchronously
* af
f
ected subtree. This allows for cached routes to be asynchronously
* tested when modifications are made to the destination cache as a
* tested when modifications are made to the destination cache as a
* result of redirects, path MTU changes, etc.
* result of redirects, path MTU changes, etc.
*/
*/
...
...
net/ipv6/ip6_tunnel.c
View file @
dbdb44de
...
@@ -399,7 +399,7 @@ void ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
...
@@ -399,7 +399,7 @@ void ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
__u16
len
;
__u16
len
;
/* If the packet doesn't contain the original IPv6 header we are
/* If the packet doesn't contain the original IPv6 header we are
in trouble since we might need the source address for furter
in trouble since we might need the source address for furt
h
er
processing of the error. */
processing of the error. */
read_lock
(
&
ip6ip6_lock
);
read_lock
(
&
ip6ip6_lock
);
...
...
net/ipv6/ndisc.c
View file @
dbdb44de
...
@@ -711,7 +711,7 @@ static void ndisc_recv_ns(struct sk_buff *skb)
...
@@ -711,7 +711,7 @@ static void ndisc_recv_ns(struct sk_buff *skb)
return
;
return
;
}
}
/*
XXX:
RFC2461 7.1.1:
/* RFC2461 7.1.1:
* If the IP source address is the unspecified address,
* If the IP source address is the unspecified address,
* there MUST NOT be source link-layer address option
* there MUST NOT be source link-layer address option
* in the message.
* in the message.
...
@@ -1164,7 +1164,7 @@ static void ndisc_redirect_rcv(struct sk_buff *skb)
...
@@ -1164,7 +1164,7 @@ static void ndisc_redirect_rcv(struct sk_buff *skb)
return
;
return
;
}
}
/*
XXX:
RFC2461 8.1:
/* RFC2461 8.1:
* The IP source address of the Redirect MUST be the same as the current
* The IP source address of the Redirect MUST be the same as the current
* first-hop router for the specified ICMP Destination Address.
* first-hop router for the specified ICMP Destination Address.
*/
*/
...
...
net/ipv6/raw.c
View file @
dbdb44de
...
@@ -222,7 +222,7 @@ static int rawv6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)
...
@@ -222,7 +222,7 @@ static int rawv6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)
}
}
/* ipv4 addr of the socket is invalid. Only the
/* ipv4 addr of the socket is invalid. Only the
* unpecified and mapped address have a v4 equivalent.
* un
s
pecified and mapped address have a v4 equivalent.
*/
*/
v4addr
=
LOOPBACK4_IPV6
;
v4addr
=
LOOPBACK4_IPV6
;
if
(
!
(
addr_type
&
IPV6_ADDR_MULTICAST
))
{
if
(
!
(
addr_type
&
IPV6_ADDR_MULTICAST
))
{
...
@@ -306,7 +306,7 @@ static inline int rawv6_rcv_skb(struct sock * sk, struct sk_buff * skb)
...
@@ -306,7 +306,7 @@ static inline int rawv6_rcv_skb(struct sock * sk, struct sk_buff * skb)
* This is next to useless...
* This is next to useless...
* if we demultiplex in network layer we don't need the extra call
* if we demultiplex in network layer we don't need the extra call
* just to queue the skb...
* just to queue the skb...
* maybe we could have the network decide up
p
on a hint if it
* maybe we could have the network decide upon a hint if it
* should call raw_rcv for demultiplexing
* should call raw_rcv for demultiplexing
*/
*/
int
rawv6_rcv
(
struct
sock
*
sk
,
struct
sk_buff
*
skb
)
int
rawv6_rcv
(
struct
sock
*
sk
,
struct
sk_buff
*
skb
)
...
@@ -627,7 +627,7 @@ static int rawv6_sendmsg(struct kiocb *iocb, struct sock *sk,
...
@@ -627,7 +627,7 @@ static int rawv6_sendmsg(struct kiocb *iocb, struct sock *sk,
if
(
ipv6_addr_any
(
daddr
))
{
if
(
ipv6_addr_any
(
daddr
))
{
/*
/*
* unspecfied destination address
* unspec
i
fied destination address
* treated as error... is this correct ?
* treated as error... is this correct ?
*/
*/
fl6_sock_release
(
flowlabel
);
fl6_sock_release
(
flowlabel
);
...
...
net/ipv6/route.c
View file @
dbdb44de
...
@@ -223,7 +223,7 @@ static struct rt6_info *rt6_best_dflt(struct rt6_info *rt, int oif)
...
@@ -223,7 +223,7 @@ static struct rt6_info *rt6_best_dflt(struct rt6_info *rt, int oif)
match
=
sprt
;
match
=
sprt
;
mpri
=
m
;
mpri
=
m
;
if
(
m
>=
12
)
{
if
(
m
>=
12
)
{
/* we choose the last
est
default router if it
/* we choose the last default router if it
* is in (probably) reachable state.
* is in (probably) reachable state.
* If route changed, we should do pmtu
* If route changed, we should do pmtu
* discovery. --yoshfuji
* discovery. --yoshfuji
...
...
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