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
8df86fa2
Commit
8df86fa2
authored
Jun 22, 2003
by
Stephen Hemminger
Committed by
Hideaki Yoshifuji
Jun 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Fix oops on /proc/net/pppoe.
parent
6360b2ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
drivers/net/pppoe.c
drivers/net/pppoe.c
+3
-2
No files found.
drivers/net/pppoe.c
View file @
8df86fa2
...
@@ -1015,8 +1015,9 @@ static void *pppoe_seq_next(struct seq_file *seq, void *v, loff_t *pos)
...
@@ -1015,8 +1015,9 @@ static void *pppoe_seq_next(struct seq_file *seq, void *v, loff_t *pos)
goto
out
;
goto
out
;
}
}
po
=
v
;
po
=
v
;
if
(
po
->
next
)
po
=
po
->
next
;
po
=
po
->
next
;
if
(
!
po
)
{
else
{
int
hash
=
hash_item
(
po
->
pppoe_pa
.
sid
,
po
->
pppoe_pa
.
remote
);
int
hash
=
hash_item
(
po
->
pppoe_pa
.
sid
,
po
->
pppoe_pa
.
remote
);
while
(
++
hash
<
PPPOE_HASH_SIZE
)
{
while
(
++
hash
<
PPPOE_HASH_SIZE
)
{
...
...
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