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
c2bb8404
Commit
c2bb8404
authored
Aug 17, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packet: Fix collection logging
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
19672e9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sk-packet.c
sk-packet.c
+1
-1
No files found.
sk-packet.c
View file @
c2bb8404
...
@@ -179,7 +179,7 @@ int packet_receive_one(struct nlmsghdr *hdr, void *arg)
...
@@ -179,7 +179,7 @@ int packet_receive_one(struct nlmsghdr *hdr, void *arg)
m
=
NLMSG_DATA
(
hdr
);
m
=
NLMSG_DATA
(
hdr
);
parse_rtattr
(
tb
,
PACKET_DIAG_MAX
,
(
struct
rtattr
*
)(
m
+
1
),
parse_rtattr
(
tb
,
PACKET_DIAG_MAX
,
(
struct
rtattr
*
)(
m
+
1
),
hdr
->
nlmsg_len
-
NLMSG_LENGTH
(
sizeof
(
*
m
)));
hdr
->
nlmsg_len
-
NLMSG_LENGTH
(
sizeof
(
*
m
)));
pr_
msg
(
"Collect packet sock %u %u
\n
"
,
m
->
pdiag_ino
,
(
unsigned
int
)
m
->
pdiag_num
);
pr_
info
(
"Collect packet sock %u %u
\n
"
,
m
->
pdiag_ino
,
(
unsigned
int
)
m
->
pdiag_num
);
if
(
!
tb
[
PACKET_DIAG_INFO
])
{
if
(
!
tb
[
PACKET_DIAG_INFO
])
{
pr_err
(
"No packet sock info in nlm
\n
"
);
pr_err
(
"No packet sock info in nlm
\n
"
);
...
...
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