File tree Expand file tree Collapse file tree 6 files changed +0
-8
lines changed Expand file tree Collapse file tree 6 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ struct dst_ops
104
104
void (* link_failure )(struct sk_buff * );
105
105
void (* update_pmtu )(struct dst_entry * dst , u32 mtu );
106
106
int (* local_out )(struct sk_buff * skb );
107
- int entry_size ;
108
107
109
108
atomic_t entries ;
110
109
struct kmem_cache * kmem_cachep ;
Original file line number Diff line number Diff line change @@ -131,7 +131,6 @@ static struct dst_ops dn_dst_ops = {
131
131
.negative_advice = dn_dst_negative_advice ,
132
132
.link_failure = dn_dst_link_failure ,
133
133
.update_pmtu = dn_dst_update_pmtu ,
134
- .entry_size = sizeof (struct dn_route ),
135
134
.entries = ATOMIC_INIT (0 ),
136
135
};
137
136
Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ static struct dst_ops ipv4_dst_ops = {
160
160
.link_failure = ipv4_link_failure ,
161
161
.update_pmtu = ip_rt_update_pmtu ,
162
162
.local_out = __ip_local_out ,
163
- .entry_size = sizeof (struct rtable ),
164
163
.entries = ATOMIC_INIT (0 ),
165
164
};
166
165
@@ -2701,7 +2700,6 @@ static struct dst_ops ipv4_dst_blackhole_ops = {
2701
2700
.destroy = ipv4_dst_destroy ,
2702
2701
.check = ipv4_dst_check ,
2703
2702
.update_pmtu = ipv4_rt_blackhole_update_pmtu ,
2704
- .entry_size = sizeof (struct rtable ),
2705
2703
.entries = ATOMIC_INIT (0 ),
2706
2704
};
2707
2705
Original file line number Diff line number Diff line change @@ -246,7 +246,6 @@ static struct dst_ops xfrm4_dst_ops = {
246
246
.ifdown = xfrm4_dst_ifdown ,
247
247
.local_out = __ip_local_out ,
248
248
.gc_thresh = 1024 ,
249
- .entry_size = sizeof (struct xfrm_dst ),
250
249
.entries = ATOMIC_INIT (0 ),
251
250
};
252
251
Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ static struct dst_ops ip6_dst_ops_template = {
108
108
.link_failure = ip6_link_failure ,
109
109
.update_pmtu = ip6_rt_update_pmtu ,
110
110
.local_out = __ip6_local_out ,
111
- .entry_size = sizeof (struct rt6_info ),
112
111
.entries = ATOMIC_INIT (0 ),
113
112
};
114
113
@@ -122,7 +121,6 @@ static struct dst_ops ip6_dst_blackhole_ops = {
122
121
.destroy = ip6_dst_destroy ,
123
122
.check = ip6_dst_check ,
124
123
.update_pmtu = ip6_rt_blackhole_update_pmtu ,
125
- .entry_size = sizeof (struct rt6_info ),
126
124
.entries = ATOMIC_INIT (0 ),
127
125
};
128
126
Original file line number Diff line number Diff line change @@ -277,7 +277,6 @@ static struct dst_ops xfrm6_dst_ops = {
277
277
.ifdown = xfrm6_dst_ifdown ,
278
278
.local_out = __ip6_local_out ,
279
279
.gc_thresh = 1024 ,
280
- .entry_size = sizeof (struct xfrm_dst ),
281
280
.entries = ATOMIC_INIT (0 ),
282
281
};
283
282
You can’t perform that action at this time.
0 commit comments