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
9ed77e43
Commit
9ed77e43
authored
Sep 13, 2002
by
Jeff DeFouw
Committed by
David S. Miller
Sep 13, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/ipv4/ip_options.c: IPOPT_END padding needs to increment optptr.
parent
06a11c36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/ipv4/ip_options.c
net/ipv4/ip_options.c
+1
-1
No files found.
net/ipv4/ip_options.c
View file @
9ed77e43
...
...
@@ -266,7 +266,7 @@ int ip_options_compile(struct ip_options * opt, struct sk_buff * skb)
for
(
l
=
opt
->
optlen
;
l
>
0
;
)
{
switch
(
*
optptr
)
{
case
IPOPT_END
:
for
(
optptr
++
,
l
--
;
l
>
0
;
l
--
)
{
for
(
optptr
++
,
l
--
;
l
>
0
;
optptr
++
,
l
--
)
{
if
(
*
optptr
!=
IPOPT_END
)
{
*
optptr
=
IPOPT_END
;
opt
->
is_changed
=
1
;
...
...
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