Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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,
			},
		},