Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 962c8372 authored by Al Viro's avatar Al Viro Committed by David S. Miller
Browse files

[SCTP]: Netfilter sctp annotations.

parent 3dbe8656
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ struct ip_ct_sctp
{
	enum sctp_conntrack state;

	u_int32_t vtag[IP_CT_DIR_MAX];
	__be32 vtag[IP_CT_DIR_MAX];
	u_int32_t ttag[IP_CT_DIR_MAX];
};

+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ match_packet(const struct sk_buff *skb,
		duprintf("Chunk num: %d\toffset: %d\ttype: %d\tlength: %d\tflags: %x\n", 
				++i, offset, sch->type, htons(sch->length), sch->flags);

		offset += (htons(sch->length) + 3) & ~3;
		offset += (ntohs(sch->length) + 3) & ~3;

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