[IPV6]: flowlabels are net-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -678,7 +678,7 @@ int ipv6_opt_accepted(struct sock *sk, struct sk_buff *skb)
|
||||
if (np->rxopt.all) {
|
||||
if ((opt->hop && (np->rxopt.bits.hopopts ||
|
||||
np->rxopt.bits.ohopopts)) ||
|
||||
((IPV6_FLOWINFO_MASK & *(u32*)skb->nh.raw) &&
|
||||
((IPV6_FLOWINFO_MASK & *(__be32*)skb->nh.raw) &&
|
||||
np->rxopt.bits.rxflow) ||
|
||||
(opt->srcrt && (np->rxopt.bits.srcrt ||
|
||||
np->rxopt.bits.osrcrt)) ||
|
||||
|
Reference in New Issue
Block a user