Updated from Linux LTS 3.10.22 to 3.10.23
This commit is contained in:
@@ -1725,8 +1725,12 @@ local_input:
|
||||
rth->dst.error= -err;
|
||||
rth->rt_flags &= ~RTCF_LOCAL;
|
||||
}
|
||||
if (do_cache)
|
||||
rt_cache_route(&FIB_RES_NH(res), rth);
|
||||
if (do_cache) {
|
||||
if (unlikely(!rt_cache_route(&FIB_RES_NH(res), rth))) {
|
||||
rth->dst.flags |= DST_NOCACHE;
|
||||
rt_add_uncached_list(rth);
|
||||
}
|
||||
}
|
||||
skb_dst_set(skb, &rth->dst);
|
||||
err = 0;
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user