diff options
Diffstat (limited to 'net/ipv4/fib_semantics.c')
-rw-r--r-- | net/ipv4/fib_semantics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c index b5230c4a1c16..c695e629fac2 100644 --- a/net/ipv4/fib_semantics.c +++ b/net/ipv4/fib_semantics.c | |||
@@ -1503,7 +1503,8 @@ int fib_nexthop_info(struct sk_buff *skb, const struct fib_nh_common *nhc, | |||
1503 | goto nla_put_failure; | 1503 | goto nla_put_failure; |
1504 | 1504 | ||
1505 | if (nhc->nhc_lwtstate && | 1505 | if (nhc->nhc_lwtstate && |
1506 | lwtunnel_fill_encap(skb, nhc->nhc_lwtstate) < 0) | 1506 | lwtunnel_fill_encap(skb, nhc->nhc_lwtstate, |
1507 | RTA_ENCAP, RTA_ENCAP_TYPE) < 0) | ||
1507 | goto nla_put_failure; | 1508 | goto nla_put_failure; |
1508 | 1509 | ||
1509 | return 0; | 1510 | return 0; |