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
054bf4ad
Commit
054bf4ad
authored
Dec 30, 2011
by
Cyrill Gorcunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sockets: Allow to dump dgram sockets
Signed-off-by:
Cyrill Gorcunov
<
gorcunov@openvz.org
>
parent
04ec43a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
sockets.c
sockets.c
+3
-6
No files found.
sockets.c
View file @
054bf4ad
...
@@ -91,12 +91,9 @@ static void show_one_unix_img(char *act, struct unix_sk_entry *e)
...
@@ -91,12 +91,9 @@ static void show_one_unix_img(char *act, struct unix_sk_entry *e)
static
int
can_dump_unix_sk
(
struct
unix_sk_desc
*
sk
)
static
int
can_dump_unix_sk
(
struct
unix_sk_desc
*
sk
)
{
{
if
(
sk
->
type
!=
SOCK_STREAM
)
{
if
(
sk
->
type
!=
SOCK_STREAM
&&
/*
sk
->
type
!=
SOCK_DGRAM
)
{
* Dgram sockets connect and accept jobs at
pr_err
(
"Only stream/dgram sockets for now
\n
"
);
* restore time should be fixed
*/
pr_err
(
"Only stream sockets for now
\n
"
);
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