|
Description
|
There are currently no explicit checks in IP to ensure that both
ill_t "halves" of a given phyint_t are the same, though this
assumption generally holds since both halves are plumbed up over
the same DLPI device node, which can only have one type (usually
DL_ETHER).
However, with Clearview UV's vanity naming feature, it becomes
possible to violate this assumption. For instance, one could
plumb up an IPv4 vni0 (which is of type SUNW_DL_VNI), and then
rename a physical link like ce0 to be vni0 and plumb that up
as an IPv6 vni0 (which is of type DL_ETHER). This will ultimately
lead to disaster because various bits of code in IP reasonably
assume that a given phyint_t (and all ill_t's pointed to from it)
are of the same type.
As such, we should enhance IP to fail any "plumb" operation which
would lead to a phyint_t having mixed types.
|