Hi,

Ovs 2.5.0+ have registered internal_dev_link_ops to kernel, and also set
rtnl_link_ops field of net_device.

However, under kernel version < 3.17, due to commit
b0ab2fabb5b91da99c189db02e91ae10bc8355c5
<https://github.com/torvalds/linux/commit/b0ab2fabb5b91da99c189db02e91ae10bc8355c5>
of
kernel is not merged, user can delete the internal device by using ip link
del directly, this will free the vport in kernel directly without detach it
from
dp and vport hash, this will make later dp-ctl access the freed memory of
the vport, cause variuous problems.

My questions is why ovs try to register rtnl_link_ops? can we disable the
registration under kernel version < 3.17?

Thanks a lot.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to