[
https://issues.apache.org/jira/browse/MESOS-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14197076#comment-14197076
]
Cong Wang commented on MESOS-1959:
----------------------------------
Probably it doesn't matter, from what I read from the kernel code.
It is pretty much enforced by the API since these settings use ioctl() which
requires an fd.
> Link flag, MAC and MTU setting for IPv6
> ---------------------------------------
>
> Key: MESOS-1959
> URL: https://issues.apache.org/jira/browse/MESOS-1959
> Project: Mesos
> Issue Type: Task
> Components: containerization, isolation
> Reporter: Evelina Dumitrescu
> Assignee: Evelina Dumitrescu
>
> Libnl has some issues with virtual devices and rtnl_link_change; therefore a
> socket is created artificially( int fd = ::socket(AF_INET, SOCK_STREAM,
> 0);)and ioctl is used to set the flags/ MAC address/ MTU.
> We should investigate if this socket type matters.
> If yes, it can be set to AF_UNSPEC or the socket creation should be done
> depending on the family type of the link(eg: use
> rtnl_link_get_family/nl_addr_ger_family).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)