Commit c6a8dbb5 authored by François Romieu's avatar François Romieu Committed by David S. Miller

[DECNET]: Fix build with CONFIG_DECNET_ROUTE_FWMARK enabled.

parent 233f8451
...@@ -1055,7 +1055,7 @@ static int dn_route_output_slow(struct dst_entry **pprt, const struct flowi *old ...@@ -1055,7 +1055,7 @@ static int dn_route_output_slow(struct dst_entry **pprt, const struct flowi *old
rt->fl.oif = oldflp->oif; rt->fl.oif = oldflp->oif;
rt->fl.iif = 0; rt->fl.iif = 0;
#ifdef CONFIG_DECNET_ROUTE_FWMARK #ifdef CONFIG_DECNET_ROUTE_FWMARK
rt->fl.fld_fwmark = flp->fld_fwmark; rt->fl.fld_fwmark = oldflp->fld_fwmark;
#endif #endif
rt->rt_saddr = fl.fld_src; rt->rt_saddr = fl.fld_src;
...@@ -1180,7 +1180,7 @@ static int dn_route_input_slow(struct sk_buff *skb) ...@@ -1180,7 +1180,7 @@ static int dn_route_input_slow(struct sk_buff *skb)
.saddr = cb->src, .saddr = cb->src,
.scope = RT_SCOPE_UNIVERSE, .scope = RT_SCOPE_UNIVERSE,
#ifdef CONFIG_DECNET_ROUTE_FWMARK #ifdef CONFIG_DECNET_ROUTE_FWMARK
.fwmark = skb->fwmark .fwmark = skb->nfmark
#endif #endif
} }, } },
.iif = skb->dev->ifindex }; .iif = skb->dev->ifindex };
......
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