[IPV6]: Fix build with fwmark disabled.
Based upon a patch by Brian Haley. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
cd9d742622
commit
267935b197
|
@ -703,7 +703,9 @@ void ip6_route_input(struct sk_buff *skb)
|
|||
.ip6_u = {
|
||||
.daddr = iph->daddr,
|
||||
.saddr = iph->saddr,
|
||||
#ifdef CONFIG_IPV6_ROUTE_FWMARK
|
||||
.fwmark = skb->nfmark,
|
||||
#endif
|
||||
.flowlabel = (* (u32 *) iph)&IPV6_FLOWINFO_MASK,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue