https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273557

Mark Johnston <ma...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ma...@freebsd.org

--- Comment #12 from Mark Johnston <ma...@freebsd.org> ---
I think I agree with the proposed patch to use VMIO_SIOCSIFFLAGS.  Even if IP
is disabled on the jail, tap is an L2 device.  The fact that we have to use an
IP socket to configure the interface is bizarre; this overloading of sockets is
also problematic for capsicum.

OTOH, I think we can configure IFF_UP with any kind of socket, no?  We could
use a PF_ROUTE or PF_NETLINK socket instead.  I don't think netlink itself buys
us anything here, ifconfig still uses socket ioctls to set interface flags. 
One other reason to avoid VMIO_SIOCSIFFLAGS is that it's really just there for
vmnet(4) compatibility, I believe.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to