|
@@ -1496,8 +1496,7 @@ struct rtable *rt_dst_alloc(struct net_device *dev,
|
|
|
rt = dst_alloc(&ipv4_dst_ops, dev, 1, DST_OBSOLETE_FORCE_CHK,
|
|
|
(will_cache ? 0 : (DST_HOST | DST_NOCACHE)) |
|
|
|
(nopolicy ? DST_NOPOLICY : 0) |
|
|
|
- (noxfrm ? DST_NOXFRM : 0) |
|
|
|
- DST_NOGC);
|
|
|
+ (noxfrm ? DST_NOXFRM : 0));
|
|
|
|
|
|
if (rt) {
|
|
|
rt->rt_genid = rt_genid_ipv4(dev_net(dev));
|
|
@@ -2503,7 +2502,7 @@ struct dst_entry *ipv4_blackhole_route(struct net *net, struct dst_entry *dst_or
|
|
|
struct rtable *ort = (struct rtable *) dst_orig;
|
|
|
struct rtable *rt;
|
|
|
|
|
|
- rt = dst_alloc(&ipv4_dst_blackhole_ops, NULL, 1, DST_OBSOLETE_NONE, DST_NOGC);
|
|
|
+ rt = dst_alloc(&ipv4_dst_blackhole_ops, NULL, 1, DST_OBSOLETE_NONE, 0);
|
|
|
if (rt) {
|
|
|
struct dst_entry *new = &rt->dst;
|
|
|
|