Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41582
b: refs/heads/master
c: 92d9ece
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 3, 2006
1 parent 0afe86d commit 3cdee5e
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: 8a9ae2110baf39b2dc53c2891e0705895a8829a9
refs/heads/master: 92d9ece7af9c84bfbd1ff640926fac5b573a09f7
4 changes: 2 additions & 2 deletions trunk/include/net/inet_ecn.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ static inline int IP6_ECN_set_ce(struct ipv6hdr *iph)
{
if (INET_ECN_is_not_ect(ipv6_get_dsfield(iph)))
return 0;
*(u32*)iph |= htonl(INET_ECN_CE << 20);
*(__be32*)iph |= htonl(INET_ECN_CE << 20);
return 1;
}

static inline void IP6_ECN_clear(struct ipv6hdr *iph)
{
*(u32*)iph &= ~htonl(INET_ECN_MASK << 20);
*(__be32*)iph &= ~htonl(INET_ECN_MASK << 20);
}

static inline void ipv6_copy_dscp(struct ipv6hdr *outer, struct ipv6hdr *inner)
Expand Down

0 comments on commit 3cdee5e

Please sign in to comment.