Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78837
b: refs/heads/master
c: 4a64830
h: refs/heads/master
i:
  78835: 51f0e6c
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jan 28, 2008
1 parent 9155074 commit e5c4be4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: efe9f68afeaf2ce12636990a8c811fb1cc23b12b
refs/heads/master: 4a64830af0fd4dbec908cfbab117def5086acd4a
5 changes: 2 additions & 3 deletions trunk/net/netfilter/nf_conntrack_proto_sctp.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,8 @@ static int sctp_packet(struct nf_conn *ct,
}

old_state = new_state = SCTP_CONNTRACK_MAX;
write_lock_bh(&sctp_lock);
for_each_sctp_chunk (skb, sch, _sch, offset, dataoff, count) {
write_lock_bh(&sctp_lock);

/* Special cases of Verification tag check (Sec 8.5.1) */
if (sch->type == SCTP_CID_INIT) {
/* Sec 8.5.1 (A) */
Expand Down Expand Up @@ -378,8 +377,8 @@ static int sctp_packet(struct nf_conn *ct,
ct->proto.sctp.state = new_state;
if (old_state != new_state)
nf_conntrack_event_cache(IPCT_PROTOINFO, skb);
write_unlock_bh(&sctp_lock);
}
write_unlock_bh(&sctp_lock);

nf_ct_refresh_acct(ct, ctinfo, skb, *sctp_timeouts[new_state]);

Expand Down

0 comments on commit e5c4be4

Please sign in to comment.