diff --git a/net/core/neighbour.c b/net/core/neighbour.c index 6e890f51b7d865378d9eecd710d960ab52decd26..e471c32e448f6e33094f40716a1a0c180308a20c 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c @@ -1271,7 +1271,7 @@ int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, * we can reinject the packet there. */ n2 = NULL; - if (dst) { + if (dst && dst->obsolete != DST_OBSOLETE_DEAD) { n2 = dst_neigh_lookup_skb(dst, skb); if (n2) n1 = n2;