OpenSolaris

Printable Version Enter a New Search
Bug ID 6646806
Synopsis IP must not allow v4 and v6 ill types to differ
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:tcp-ip
Keywords clearview
Responsible Engineer Peter Memishian
Reported Against
Duplicate Of
Introduced In solaris_2.0
Commit to Fix snv_82
Fixed In snv_82
Release Fixed solaris_nevada(snv_82)
Related Bugs
Submit Date 3-January-2008
Last Update Date 31-January-2008
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.
Work Around
N/A
Comments
N/A