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
938a7aea
Commit
938a7aea
authored
May 20, 2003
by
Krishna Kumar
Committed by
David S. Miller
May 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TCP]: Handle NLM_F_ACK in tcp_diag.c
parent
36dd123b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/ipv4/tcp_diag.c
net/ipv4/tcp_diag.c
+1
-1
No files found.
net/ipv4/tcp_diag.c
View file @
938a7aea
...
@@ -613,7 +613,7 @@ static inline void tcpdiag_rcv_skb(struct sk_buff *skb)
...
@@ -613,7 +613,7 @@ static inline void tcpdiag_rcv_skb(struct sk_buff *skb)
if
(
nlh
->
nlmsg_len
<
sizeof
(
*
nlh
)
||
skb
->
len
<
nlh
->
nlmsg_len
)
if
(
nlh
->
nlmsg_len
<
sizeof
(
*
nlh
)
||
skb
->
len
<
nlh
->
nlmsg_len
)
return
;
return
;
err
=
tcpdiag_rcv_msg
(
skb
,
nlh
);
err
=
tcpdiag_rcv_msg
(
skb
,
nlh
);
if
(
err
)
if
(
err
||
nlh
->
nlmsg_flags
&
NLM_F_ACK
)
netlink_ack
(
skb
,
nlh
,
err
);
netlink_ack
(
skb
,
nlh
,
err
);
}
}
}
}
...
...
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