Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5912
b: refs/heads/master
c: fd84132
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Aug 21, 2005
1 parent 6578bee commit 22c54fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: a5ea169c9581553662bb79a1c8c98fed1ee84246
refs/heads/master: fd841326d73096ad79be9c3fa348f9ad04541cc2
8 changes: 4 additions & 4 deletions trunk/net/ipv4/netfilter/ipt_ECN.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ set_ect_tcp(struct sk_buff **pskb, const struct ipt_ECN_info *einfo, int inward)
if (!tcph)
return 0;

if (!(einfo->operation & IPT_ECN_OP_SET_ECE
|| tcph->ece == einfo->proto.tcp.ece)
&& (!(einfo->operation & IPT_ECN_OP_SET_CWR
|| tcph->cwr == einfo->proto.tcp.cwr)))
if ((!(einfo->operation & IPT_ECN_OP_SET_ECE) ||
tcph->ece == einfo->proto.tcp.ece) &&
((!(einfo->operation & IPT_ECN_OP_SET_CWR) ||
tcph->cwr == einfo->proto.tcp.cwr)))
return 1;

if (!skb_ip_make_writable(pskb, (*pskb)->nh.iph->ihl*4+sizeof(*tcph)))
Expand Down

0 comments on commit 22c54fa

Please sign in to comment.