]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c60e25dfd8b99204e1d4a99611516deecbc224c
treef3390a0540238f4d5168ae4883deb73026182848
parent5d6f1a15f22d7b7d9e04d6b9a7f608953f458e7d
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: 8bf45a9d52d2 ("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