|
@@ -41,8 +41,8 @@ int nf_ct_seqadj_set(struct nf_conn *ct, enum ip_conntrack_info ctinfo,
|
|
|
spin_lock_bh(&ct->lock);
|
|
|
this_way = &seqadj->seq[dir];
|
|
|
if (this_way->offset_before == this_way->offset_after ||
|
|
|
- before(this_way->correction_pos, seq)) {
|
|
|
- this_way->correction_pos = seq;
|
|
|
+ before(this_way->correction_pos, ntohl(seq))) {
|
|
|
+ this_way->correction_pos = ntohl(seq);
|
|
|
this_way->offset_before = this_way->offset_after;
|
|
|
this_way->offset_after += off;
|
|
|
}
|