diff options
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 896c768e41a2..163086b2f058 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -169,6 +169,7 @@ static struct dst_ops ipv4_dst_ops = { | |||
169 | .update_pmtu = ip_rt_update_pmtu, | 169 | .update_pmtu = ip_rt_update_pmtu, |
170 | .local_out = ip_local_out, | 170 | .local_out = ip_local_out, |
171 | .entry_size = sizeof(struct rtable), | 171 | .entry_size = sizeof(struct rtable), |
172 | .entries = ATOMIC_INIT(0), | ||
172 | }; | 173 | }; |
173 | 174 | ||
174 | #define ECN_OR_COST(class) TC_PRIO_##class | 175 | #define ECN_OR_COST(class) TC_PRIO_##class |
@@ -2498,6 +2499,7 @@ static struct dst_ops ipv4_dst_blackhole_ops = { | |||
2498 | .check = ipv4_dst_check, | 2499 | .check = ipv4_dst_check, |
2499 | .update_pmtu = ipv4_rt_blackhole_update_pmtu, | 2500 | .update_pmtu = ipv4_rt_blackhole_update_pmtu, |
2500 | .entry_size = sizeof(struct rtable), | 2501 | .entry_size = sizeof(struct rtable), |
2502 | .entries = ATOMIC_INIT(0), | ||
2501 | }; | 2503 | }; |
2502 | 2504 | ||
2503 | 2505 | ||