OpenSolaris

Printable Version Enter a New Search
Bug ID 6528421
Synopsis nce_res_mp is schizophrenic
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:tcp-ip
Keywords surya
Responsible Engineer Sowmini Varadhan
Reported Against snv_54
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_71
Fixed In snv_71
Release Fixed solaris_nevada(snv_71)
Related Bugs 6497216 , 6545032
Submit Date 26-February-2007
Last Update Date 15-August-2007
Description
Currently, nce_res_mp is used to hold two *completely* different mblk_t's --
either an AR_ENTRY_QUERY (from ill_resolver_mp), or a DL_UNITDATA_REQ that
can be used to send a packet using the DLPI "slow path".  While the current
code is careful to separate the two uses, it is still a frequent source of
confusion and there is no need for the overload.

Either we need to introduce two fields (perhaps using a union if space is
really important), or rename nce_res_mp to nce_dlur_mp and change all the
code that needs to use the AR_ENTRY_QUERY to directly use ill_resolver_mp.
Work Around
N/A
Comments
N/A