Commit a91f39e1 authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji

[IPV6] don't try to insert same local route multiple times.

Signed-off-by: default avatarHideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
parent 4d802161
...@@ -1457,8 +1457,7 @@ void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len) ...@@ -1457,8 +1457,7 @@ void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len)
spin_unlock(&ifp->lock); spin_unlock(&ifp->lock);
if (!(flags&IFA_F_TENTATIVE)) if (!(flags&IFA_F_TENTATIVE))
ipv6_ifa_notify((flags&IFA_F_DEPRECATED) ? ipv6_ifa_notify(0, ifp);
0 : RTM_NEWADDR, ifp);
} else } else
spin_unlock(&ifp->lock); spin_unlock(&ifp->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment