Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115037
b: refs/heads/master
c: 22441cf
h: refs/heads/master
i:
  115035: 1c4b983
v: v3
  • Loading branch information
Pedro Ribeiro authored and David S. Miller committed Oct 15, 2008
1 parent a6ab958 commit 93516bd
Show file tree
Hide file tree
Showing 3 changed files with 6 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: deb28d9bc4bb6922c1f7e459744d7b2d0db3a1d2
refs/heads/master: 22441cfa0c70dcd457f3c081fcf285c3bd155824
6 changes: 4 additions & 2 deletions trunk/include/linux/icmpv6.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,18 @@ struct icmp6hdr {
struct icmpv6_nd_ra {
__u8 hop_limit;
#if defined(__LITTLE_ENDIAN_BITFIELD)
__u8 reserved:4,
__u8 reserved:3,
router_pref:2,
home_agent:1,
other:1,
managed:1;

#elif defined(__BIG_ENDIAN_BITFIELD)
__u8 managed:1,
other:1,
home_agent:1,
router_pref:2,
reserved:4;
reserved:3;
#else
#error "Please fix <asm/byteorder.h>"
#endif
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/ndisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ static void ndisc_router_discovery(struct sk_buff *skb)
}
neigh->flags |= NTF_ROUTER;
} else if (rt) {
rt->rt6i_flags |= (rt->rt6i_flags & ~RTF_PREF_MASK) | RTF_PREF(pref);
rt->rt6i_flags = (rt->rt6i_flags & ~RTF_PREF_MASK) | RTF_PREF(pref);
}

if (rt)
Expand Down

0 comments on commit 93516bd

Please sign in to comment.