Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202939
b: refs/heads/master
c: 2bf0748
h: refs/heads/master
i:
  202937: 95da737
  202935: 77cd5d0
v: v3
  • Loading branch information
Shan Wei authored and Patrick McHardy committed Jun 9, 2010
1 parent 19df12a commit 93c6211
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: b3c5163fe0193a74016dba1bb22491e0d1e9aaa4
refs/heads/master: 2bf074825403e0e0d623bac7573580773b78abef
3 changes: 2 additions & 1 deletion trunk/net/netfilter/xt_sctp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <linux/skbuff.h>
#include <net/ip.h>
#include <net/ipv6.h>
#include <net/sctp/sctp.h>
#include <linux/sctp.h>

#include <linux/netfilter/x_tables.h>
Expand Down Expand Up @@ -67,7 +68,7 @@ match_packet(const struct sk_buff *skb,
++i, offset, sch->type, htons(sch->length),
sch->flags);
#endif
offset += (ntohs(sch->length) + 3) & ~3;
offset += WORD_ROUND(ntohs(sch->length));

pr_debug("skb->len: %d\toffset: %d\n", skb->len, offset);

Expand Down

0 comments on commit 93c6211

Please sign in to comment.