On 1/22/2019 1:13 AM, Ken Ajiro wrote:
However I think that inet6_add_protocol() never return -EEXIST so I
think that this special handling won't work.
(It looks that inet6_add_protocol() returns only 0 or -1)
int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char
protocol)
{
return !cmpxchg((const struct inet6_protocol
**)&inet6_protos[protocol],
NULL, prot) ? 0 : -1;
}
Thanks,
You're correct. I've sent a patch to the dev list to fix it. It's here:
https://mail.openvswitch.org/pipermail/ovs-dev/2019-January/355500.html
Nice catch!!
- Greg
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss