Commit 267935b1 authored by David S. Miller's avatar David S. Miller

[IPV6]: Fix build with fwmark disabled.

Based upon a patch by Brian Haley.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cd9d7426
...@@ -703,7 +703,9 @@ void ip6_route_input(struct sk_buff *skb) ...@@ -703,7 +703,9 @@ void ip6_route_input(struct sk_buff *skb)
.ip6_u = { .ip6_u = {
.daddr = iph->daddr, .daddr = iph->daddr,
.saddr = iph->saddr, .saddr = iph->saddr,
#ifdef CONFIG_IPV6_ROUTE_FWMARK
.fwmark = skb->nfmark, .fwmark = skb->nfmark,
#endif
.flowlabel = (* (u32 *) iph)&IPV6_FLOWINFO_MASK, .flowlabel = (* (u32 *) iph)&IPV6_FLOWINFO_MASK,
}, },
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment