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
1882dbed
Commit
1882dbed
authored
Jun 03, 2003
by
Randy Dunlap
Committed by
David S. Miller
Jun 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Typo corrections only.
parent
e782d014
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
include/linux/rtnetlink.h
include/linux/rtnetlink.h
+1
-1
include/net/ip6_fib.h
include/net/ip6_fib.h
+1
-1
net/ipv6/addrconf.c
net/ipv6/addrconf.c
+2
-2
net/ipv6/af_inet6.c
net/ipv6/af_inet6.c
+1
-1
net/ipv6/route.c
net/ipv6/route.c
+1
-1
net/ipv6/xfrm6_policy.c
net/ipv6/xfrm6_policy.c
+1
-1
No files found.
include/linux/rtnetlink.h
View file @
1882dbed
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
#define RTM_MAX (RTM_BASE+31)
#define RTM_MAX (RTM_BASE+31)
/*
/*
Generic structure for encapsulation optional route information.
Generic structure for encapsulation o
f o
ptional route information.
It is reminiscent of sockaddr, but with sa_family replaced
It is reminiscent of sockaddr, but with sa_family replaced
with attribute type.
with attribute type.
*/
*/
...
...
include/net/ip6_fib.h
View file @
1882dbed
...
@@ -111,7 +111,7 @@ static inline void fib6_walker_unlink(struct fib6_walker_t *w)
...
@@ -111,7 +111,7 @@ static inline void fib6_walker_unlink(struct fib6_walker_t *w)
struct
rt6_statistics
{
struct
rt6_statistics
{
__u32
fib_nodes
;
__u32
fib_nodes
;
__u32
fib_route_nodes
;
__u32
fib_route_nodes
;
__u32
fib_rt_alloc
;
/* permanet routes */
__u32
fib_rt_alloc
;
/* permane
n
t routes */
__u32
fib_rt_entries
;
/* rt entries in table */
__u32
fib_rt_entries
;
/* rt entries in table */
__u32
fib_rt_cache
;
/* cache routes */
__u32
fib_rt_cache
;
/* cache routes */
};
};
...
...
net/ipv6/addrconf.c
View file @
1882dbed
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
*
*
* Janos Farkas : delete timer on ifdown
* Janos Farkas : delete timer on ifdown
* <chexum@bankinf.banki.hu>
* <chexum@bankinf.banki.hu>
* Andi Kleen : kill doube kfree on module
* Andi Kleen : kill doub
l
e kfree on module
* unload.
* unload.
* Maciej W. Rozycki : FDDI support
* Maciej W. Rozycki : FDDI support
* sekiya@USAGI : Don't send too many RS
* sekiya@USAGI : Don't send too many RS
...
@@ -1256,7 +1256,7 @@ static void sit_route_add(struct net_device *dev)
...
@@ -1256,7 +1256,7 @@ static void sit_route_add(struct net_device *dev)
rtmsg
.
rtmsg_type
=
RTMSG_NEWROUTE
;
rtmsg
.
rtmsg_type
=
RTMSG_NEWROUTE
;
rtmsg
.
rtmsg_metric
=
IP6_RT_PRIO_ADDRCONF
;
rtmsg
.
rtmsg_metric
=
IP6_RT_PRIO_ADDRCONF
;
/* prefix length - 96 b
yte
s "::d.d.d.d" */
/* prefix length - 96 b
it
s "::d.d.d.d" */
rtmsg
.
rtmsg_dst_len
=
96
;
rtmsg
.
rtmsg_dst_len
=
96
;
rtmsg
.
rtmsg_flags
=
RTF_UP
|
RTF_NONEXTHOP
;
rtmsg
.
rtmsg_flags
=
RTF_UP
|
RTF_NONEXTHOP
;
rtmsg
.
rtmsg_ifindex
=
dev
->
ifindex
;
rtmsg
.
rtmsg_ifindex
=
dev
->
ifindex
;
...
...
net/ipv6/af_inet6.c
View file @
1882dbed
...
@@ -310,7 +310,7 @@ int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
...
@@ -310,7 +310,7 @@ int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
}
else
{
}
else
{
if
(
addr_type
!=
IPV6_ADDR_ANY
)
{
if
(
addr_type
!=
IPV6_ADDR_ANY
)
{
/* 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
))
{
...
...
net/ipv6/route.c
View file @
1882dbed
...
@@ -336,7 +336,7 @@ static int rt6_ins(struct rt6_info *rt, struct nlmsghdr *nlh, void *_rtattr)
...
@@ -336,7 +336,7 @@ static int rt6_ins(struct rt6_info *rt, struct nlmsghdr *nlh, void *_rtattr)
return
err
;
return
err
;
}
}
/* No rt6_lock! If COW faild, the function returns dead route entry
/* No rt6_lock! If COW fail
e
d, the function returns dead route entry
with dst->error set to errno value.
with dst->error set to errno value.
*/
*/
...
...
net/ipv6/xfrm6_policy.c
View file @
1882dbed
...
@@ -146,7 +146,7 @@ __xfrm6_bundle_create(struct xfrm_policy *policy, struct xfrm_state **xfrm, int
...
@@ -146,7 +146,7 @@ __xfrm6_bundle_create(struct xfrm_policy *policy, struct xfrm_state **xfrm, int
memcpy
(
&
dst_prev
->
metrics
,
&
rt
->
u
.
dst
.
metrics
,
sizeof
(
dst_prev
->
metrics
));
memcpy
(
&
dst_prev
->
metrics
,
&
rt
->
u
.
dst
.
metrics
,
sizeof
(
dst_prev
->
metrics
));
dst_prev
->
path
=
&
rt
->
u
.
dst
;
dst_prev
->
path
=
&
rt
->
u
.
dst
;
/* Copy neighbou
t
for reachability confirmation */
/* Copy neighbou
r
for reachability confirmation */
dst_prev
->
neighbour
=
neigh_clone
(
rt
->
u
.
dst
.
neighbour
);
dst_prev
->
neighbour
=
neigh_clone
(
rt
->
u
.
dst
.
neighbour
);
dst_prev
->
input
=
rt
->
u
.
dst
.
input
;
dst_prev
->
input
=
rt
->
u
.
dst
.
input
;
dst_prev
->
output
=
dst_prev
->
xfrm
->
type
->
output
;
dst_prev
->
output
=
dst_prev
->
xfrm
->
type
->
output
;
...
...
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