http://defect.opensolaris.org/bz/show_bug.cgi?id=9524
Summary: icfg_plumb() in libinetcfg does not bail at right point
in v6 config
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: ACCEPTED
Status Whiteboard: nwam1-build:2009-06-10
Severity: normal
Priority: P3
Component: ON misc
AssignedTo: alan.maguire at sun.com
ReportedBy: alan.maguire at sun.com
QAContact: nwam-dev at opensolaris.org
...and will drive on trying to configure ARP unnecessarily. This manifests
itself in messages like this:
plumb_unplumb_interface: plumb failed for iwk0: Could not plumb ARP stream
...and leaves IPv6 interfaces misconfigured. The fix is to bail when we
discover
ARP is not needed as in ifconfig.c
4002 /* Check if arp is not needed */
4003 if (lifr.lifr_flags & (IFF_NOARP|IFF_IPV6)) {
4004 /*
4005 * PLINK the interface stream so that ifconfig can exit
4006 * without tearing down the stream.
4007 */
4008 if ((ip_muxid = ioctl(mux_fd, I_PLINK, ip_fd)) == -1)
4009 Perror0_exit("I_PLINK for ip");
4010 (void) close(mux_fd);
4011 return (lifr.lifr_ppa);
4012 }
We were not returning successfully at the point where lifr.lifr.ppa is
returned.
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.