Commit 962c837275e8a8c1df41f1882e971636093cdee4
Committed by
David S. Miller
1 parent
3dbe86566e
[SCTP]: Netfilter sctp annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
include/linux/netfilter/nf_conntrack_sctp.h
net/netfilter/xt_sctp.c
... | ... | @@ -71,7 +71,7 @@ |
71 | 71 | duprintf("Chunk num: %d\toffset: %d\ttype: %d\tlength: %d\tflags: %x\n", |
72 | 72 | ++i, offset, sch->type, htons(sch->length), sch->flags); |
73 | 73 | |
74 | - offset += (htons(sch->length) + 3) & ~3; | |
74 | + offset += (ntohs(sch->length) + 3) & ~3; | |
75 | 75 | |
76 | 76 | duprintf("skb->len: %d\toffset: %d\n", skb->len, offset); |
77 | 77 |