diff options
Diffstat (limited to 'net/ipv4/fib_frontend.c')
| -rw-r--r-- | net/ipv4/fib_frontend.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c index 161fc0f0d752..dbad5a1c161a 100644 --- a/net/ipv4/fib_frontend.c +++ b/net/ipv4/fib_frontend.c @@ -620,6 +620,7 @@ const struct nla_policy rtm_ipv4_policy[RTA_MAX + 1] = {  	[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, @@ -1218,6 +1219,8 @@ static int __net_init ip_fib_net_init(struct net *net)  	int err;  	size_t size = sizeof(struct hlist_head) * FIB_TABLE_HASHSZ; +	net->ipv4.fib_seq = 0; +  	/* Avoid false sharing : Use at least a full cache line */  	size = max_t(size_t, size, L1_CACHE_BYTES);  |