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
931aac84
Commit
931aac84
authored
Jun 30, 2003
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6] Don't set M flag in last fragment.
parent
df7c718d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
net/ipv6/ip6_output.c
net/ipv6/ip6_output.c
+1
-3
No files found.
net/ipv6/ip6_output.c
View file @
931aac84
...
...
@@ -1004,9 +1004,7 @@ static int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff*))
offset
+=
skb
->
len
-
hlen
-
sizeof
(
struct
frag_hdr
);
fh
->
nexthdr
=
nexthdr
;
fh
->
reserved
=
0
;
if
(
frag
->
next
!=
NULL
)
offset
|=
0x0001
;
fh
->
frag_off
=
htons
(
offset
);
fh
->
frag_off
=
htons
(
offset
|
(
frag
->
next
!=
NULL
?
0x0001
:
0
));
fh
->
identification
=
frag_id
;
frag
->
nh
.
ipv6h
->
payload_len
=
htons
(
frag
->
len
-
sizeof
(
struct
ipv6hdr
));
ip6_copy_metadata
(
frag
,
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