Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
c80dd2da
Commit
c80dd2da
authored
Mar 24, 2009
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6
parents
142071b8
534f81a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
net/netfilter/nf_conntrack_proto_tcp.c
net/netfilter/nf_conntrack_proto_tcp.c
+2
-1
No files found.
net/netfilter/nf_conntrack_proto_tcp.c
View file @
c80dd2da
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
#include <linux/skbuff.h>
#include <linux/skbuff.h>
#include <linux/ipv6.h>
#include <linux/ipv6.h>
#include <net/ip6_checksum.h>
#include <net/ip6_checksum.h>
#include <asm/unaligned.h>
#include <net/tcp.h>
#include <net/tcp.h>
...
@@ -466,7 +467,7 @@ static void tcp_sack(const struct sk_buff *skb, unsigned int dataoff,
...
@@ -466,7 +467,7 @@ static void tcp_sack(const struct sk_buff *skb, unsigned int dataoff,
for
(
i
=
0
;
for
(
i
=
0
;
i
<
(
opsize
-
TCPOLEN_SACK_BASE
);
i
<
(
opsize
-
TCPOLEN_SACK_BASE
);
i
+=
TCPOLEN_SACK_PERBLOCK
)
{
i
+=
TCPOLEN_SACK_PERBLOCK
)
{
tmp
=
ntohl
(
*
((
__be32
*
)(
ptr
+
i
)
+
1
)
);
tmp
=
get_unaligned_be32
((
__be32
*
)(
ptr
+
i
)
+
1
);
if
(
after
(
tmp
,
*
sack
))
if
(
after
(
tmp
,
*
sack
))
*
sack
=
tmp
;
*
sack
=
tmp
;
...
...
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