ipv4: add missing initialization for flowi4_uid
authorJulian Anastasov <ja@ssi.bg>
Sun, 26 Feb 2017 13:50:52 +0000 (15:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Feb 2017 16:03:38 +0000 (11:03 -0500)
commit8bcfd0925ef15f072ba1e7bee2c25e9e1b5fd6ca
treef3390a0540238f4d5168ae4883deb73026182848
parent8118b7b76c8c087055054884a39db6a7d138e1c5
ipv4: add missing initialization for flowi4_uid

Avoid matching of random stack value for uid when rules
are looked up on input route or when RP filter is used.
Problem should affect only setups that use ip rules with
uid range.

Fixes: 622ec2c9d524 ("net: core: add UID to flows, rules, and routes")
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c
net/ipv4/route.c