diff -drupN a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c
--- a/net/ipv4/fib_frontend.c	2018-08-06 17:23:04.000000000 +0300
+++ b/net/ipv4/fib_frontend.c	2022-06-12 05:28:14.000000000 +0300
@@ -622,6 +622,7 @@ const struct nla_policy rtm_ipv4_policy[
 	[RTA_FLOW]		= { .type = NLA_U32 },
 	[RTA_ENCAP_TYPE]	= { .type = NLA_U16 },
 	[RTA_ENCAP]		= { .type = NLA_NESTED },
+	[RTA_UID]		= { .type = NLA_U32 },
 };
 
 static int rtm_to_fib_config(struct net *net, struct sk_buff *skb,