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
c07a729d
Commit
c07a729d
authored
May 12, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Check output fragmentation using dst_pmtu not dev->mtu.
parent
6ec6f76e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/ipv6/ip6_output.c
net/ipv6/ip6_output.c
+1
-1
No files found.
net/ipv6/ip6_output.c
View file @
c07a729d
...
@@ -141,7 +141,7 @@ int ip6_output2(struct sk_buff *skb)
...
@@ -141,7 +141,7 @@ int ip6_output2(struct sk_buff *skb)
int
ip6_output
(
struct
sk_buff
*
skb
)
int
ip6_output
(
struct
sk_buff
*
skb
)
{
{
if
((
skb
->
len
>
skb
->
dst
->
dev
->
mtu
||
skb_shinfo
(
skb
)
->
frag_list
))
if
((
skb
->
len
>
dst_pmtu
(
skb
->
dst
)
||
skb_shinfo
(
skb
)
->
frag_list
))
return
ip6_fragment
(
skb
,
ip6_output2
);
return
ip6_fragment
(
skb
,
ip6_output2
);
else
else
return
ip6_output2
(
skb
);
return
ip6_output2
(
skb
);
...
...
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