diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2015-09-29 19:07:07 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-29 21:52:32 -0700 |
commit | b84f78782052ee4516903e5d0566a5eee365b771 (patch) | |
tree | a9f8b55ef7af9473c81f30ca87149d7989a5d918 /net/ipv4/route.c | |
parent | 57a47532c4312159935c98b7f1cf0e62296b9171 (diff) | |
download | talos-obmc-linux-b84f78782052ee4516903e5d0566a5eee365b771.tar.gz talos-obmc-linux-b84f78782052ee4516903e5d0566a5eee365b771.zip |
net: Initialize flow flags in input path
The fib_table_lookup tracepoint found 2 places where the flowi4_flags is
not initialized.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index c6ad99ad0ffb..c81deb85acb4 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -1737,6 +1737,7 @@ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr, fl4.flowi4_mark = skb->mark; fl4.flowi4_tos = tos; fl4.flowi4_scope = RT_SCOPE_UNIVERSE; + fl4.flowi4_flags = 0; fl4.daddr = daddr; fl4.saddr = saddr; err = fib_lookup(net, &fl4, &res, 0); |