Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263929
b: refs/heads/master
c: 4a5cc84
h: refs/heads/master
i:
  263927: e2c871a
v: v3
  • Loading branch information
Jozsef Kadlecsik authored and Patrick McHardy committed Aug 30, 2011
1 parent fe55690 commit 0e5b65e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c6e4209662b2a4147cde16c2144a253a7430a49
refs/heads/master: 4a5cc84ae7e19fb7a72a30332ba67af43e0ad1ad
4 changes: 2 additions & 2 deletions trunk/net/netfilter/nf_conntrack_proto_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ static void tcp_options(const struct sk_buff *skb,
if (opsize < 2) /* "silly options" */
return;
if (opsize > length)
break; /* don't parse partial options */
return; /* don't parse partial options */

if (opcode == TCPOPT_SACK_PERM
&& opsize == TCPOLEN_SACK_PERM)
Expand Down Expand Up @@ -469,7 +469,7 @@ static void tcp_sack(const struct sk_buff *skb, unsigned int dataoff,
if (opsize < 2) /* "silly options" */
return;
if (opsize > length)
break; /* don't parse partial options */
return; /* don't parse partial options */

if (opcode == TCPOPT_SACK
&& opsize >= (TCPOLEN_SACK_BASE
Expand Down

0 comments on commit 0e5b65e

Please sign in to comment.