ipv6: sr: properly initialize flowi6 prior passing to ip6_route_output
authorShmulik Ladkani <shmulik@metanetworks.com>
Fri, 7 Dec 2018 07:50:17 +0000 (09:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2018 20:22:39 +0000 (12:22 -0800)
commit1b4e5ad5d6b9f15cd0b5121f86d4719165958417
treefbd1e2b599ee3272dab06e7f335eed4bee243488
parentcd9d1a2332b01b043935c0ec9bb675effb67aac9
ipv6: sr: properly initialize flowi6 prior passing to ip6_route_output

In 'seg6_output', stack variable 'struct flowi6 fl6' was missing
initialization.

Fixes: 6c8702c60b88 ("ipv6: sr: add support for SRH encapsulation and injection with lwtunnels")
Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/seg6_iptunnel.c