On Mon, 2019-07-01 at 18:08 +0200, Matteo Croce wrote: > Avoid the situation where an IPV6 only flag is applied to an IPv4 address: [] > diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c [] > @@ -468,6 +473,9 @@ static int __inet_insert_ifa(struct in_ifaddr *ifa, > struct nlmsghdr *nlh, > ifa->ifa_flags &= ~IFA_F_SECONDARY; > last_primary = &in_dev->ifa_list; > > + /* Don't set IPv6 only flags to IPv6 addresses */
umm, IPv4 addresses?