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
9c681b43
Commit
9c681b43
authored
Jul 19, 2007
by
YOSHIFUJI Hideaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET] IPV4: Fix whitespace errors.
Signed-off-by:
YOSHIFUJI Hideaki
<
yoshfuji@linux-ipv6.org
>
parent
23248005
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
net/ipv4/fib_frontend.c
net/ipv4/fib_frontend.c
+1
-1
net/ipv4/ip_forward.c
net/ipv4/ip_forward.c
+1
-1
net/ipv4/tcp_output.c
net/ipv4/tcp_output.c
+1
-1
No files found.
net/ipv4/fib_frontend.c
View file @
9c681b43
...
...
@@ -817,7 +817,7 @@ static void nl_fib_input(struct sock *sk, int len)
static
void
nl_fib_lookup_init
(
void
)
{
netlink_kernel_create
(
NETLINK_FIB_LOOKUP
,
0
,
nl_fib_input
,
NULL
,
THIS_MODULE
);
THIS_MODULE
);
}
static
void
fib_disable_ip
(
struct
net_device
*
dev
,
int
force
)
...
...
net/ipv4/ip_forward.c
View file @
9c681b43
...
...
@@ -86,7 +86,7 @@ int ip_forward(struct sk_buff *skb)
goto
sr_failed
;
if
(
unlikely
(
skb
->
len
>
dst_mtu
(
&
rt
->
u
.
dst
)
&&
(
ip_hdr
(
skb
)
->
frag_off
&
htons
(
IP_DF
)))
&&
!
skb
->
local_df
)
{
(
ip_hdr
(
skb
)
->
frag_off
&
htons
(
IP_DF
)))
&&
!
skb
->
local_df
)
{
IP_INC_STATS
(
IPSTATS_MIB_FRAGFAILS
);
icmp_send
(
skb
,
ICMP_DEST_UNREACH
,
ICMP_FRAG_NEEDED
,
htonl
(
dst_mtu
(
&
rt
->
u
.
dst
)));
...
...
net/ipv4/tcp_output.c
View file @
9c681b43
...
...
@@ -1615,7 +1615,7 @@ u32 __tcp_select_window(struct sock *sk)
if
(
window
<=
free_space
-
mss
||
window
>
free_space
)
window
=
(
free_space
/
mss
)
*
mss
;
else
if
(
mss
==
full_space
&&
free_space
>
window
+
full_space
/
2
)
free_space
>
window
+
full_space
/
2
)
window
=
free_space
;
}
...
...
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