Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78811
b: refs/heads/master
c: cdfe8b9
h: refs/heads/master
i:
  78809: 62f1649
  78807: e0a553b
v: v3
  • Loading branch information
Jan Engelhardt authored and David S. Miller committed Jan 28, 2008
1 parent 7b3b8bb commit b055e70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 9bb268ed7c5f0ec76a5bd6824450a104231152ba
refs/heads/master: cdfe8b9797f1a47fe24a9bf9e98a351bae11ab99
4 changes: 2 additions & 2 deletions trunk/net/netfilter/xt_DSCP.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ tos_tg(struct sk_buff *skb, const struct net_device *in,
if (!skb_make_writable(skb, sizeof(struct iphdr)))
return NF_DROP;
iph = ip_hdr(skb);
ipv4_change_dsfield(iph, ~0, nv);
ipv4_change_dsfield(iph, 0, nv);
}

return XT_CONTINUE;
Expand All @@ -156,7 +156,7 @@ tos_tg6(struct sk_buff *skb, const struct net_device *in,
if (!skb_make_writable(skb, sizeof(struct iphdr)))
return NF_DROP;
iph = ipv6_hdr(skb);
ipv6_change_dsfield(iph, ~0, nv);
ipv6_change_dsfield(iph, 0, nv);
}

return XT_CONTINUE;
Expand Down

0 comments on commit b055e70

Please sign in to comment.