Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
0a8a1621
Commit
0a8a1621
authored
Oct 10, 2013
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unix: Increase verbosity of "can't dump this socket" check
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
fa73b3e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sk-unix.c
sk-unix.c
+5
-2
No files found.
sk-unix.c
View file @
0a8a1621
...
@@ -98,7 +98,9 @@ static int can_dump_unix_sk(const struct unix_sk_desc *sk)
...
@@ -98,7 +98,9 @@ static int can_dump_unix_sk(const struct unix_sk_desc *sk)
if
(
sk
->
type
!=
SOCK_STREAM
&&
if
(
sk
->
type
!=
SOCK_STREAM
&&
sk
->
type
!=
SOCK_DGRAM
&&
sk
->
type
!=
SOCK_DGRAM
&&
sk
->
type
!=
SOCK_SEQPACKET
)
{
sk
->
type
!=
SOCK_SEQPACKET
)
{
pr_err
(
"Only stream/dgram/seqpacket sockets for now
\n
"
);
pr_err
(
"Unsupported type (%d) on socket %x.
\n
"
"Only stream/dgram/seqpacket are supported.
\n
"
,
sk
->
type
,
sk
->
sd
.
ino
);
return
0
;
return
0
;
}
}
...
@@ -108,7 +110,8 @@ static int can_dump_unix_sk(const struct unix_sk_desc *sk)
...
@@ -108,7 +110,8 @@ static int can_dump_unix_sk(const struct unix_sk_desc *sk)
case
TCP_CLOSE
:
case
TCP_CLOSE
:
break
;
break
;
default:
default:
pr_err
(
"Unknown state %d
\n
"
,
sk
->
state
);
pr_err
(
"Unknown state %d for unix socket %x
\n
"
,
sk
->
state
,
sk
->
sd
.
ino
);
return
0
;
return
0
;
}
}
...
...
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