summaryrefslogtreecommitdiff
path: root/usr/src/cmd/dladm
diff options
context:
space:
mode:
authorCathy Zhou <Cathy.Zhou@Sun.COM>2010-07-14 15:39:08 -0400
committerCathy Zhou <Cathy.Zhou@Sun.COM>2010-07-14 15:39:08 -0400
commit327151705b7439cb7ab35c370f682cac7ef9523a (patch)
treedc70b1e9458066faef68e56f0be54073920c112c /usr/src/cmd/dladm
parent442384bb4f40e4893df0a79549264f04218e1d9f (diff)
downloadillumos-joyent-327151705b7439cb7ab35c370f682cac7ef9523a.tar.gz
6953249 memory leak in dlmgmtd
6949971 dlmgmtd keeps consuming memory 6826131 dlmgmtd's parse_linkprops() suffers from memory mismanagement 6846855 vlan rcm support could use a code review
Diffstat (limited to 'usr/src/cmd/dladm')
-rw-r--r--usr/src/cmd/dladm/dladm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/dladm/dladm.c b/usr/src/cmd/dladm/dladm.c
index c07fc2cb49..c6c19724a4 100644
--- a/usr/src/cmd/dladm/dladm.c
+++ b/usr/src/cmd/dladm/dladm.c
@@ -9142,7 +9142,7 @@ print_part(show_part_state_t *state, datalink_id_t linkid)
* we want up-part to always succeed even if the port is currently down
* or P_Key is not yet available in the subnet.
*/
- if ((status = dladm_read_conf(handle, linkid, &conf)) ==
+ if ((status = dladm_getsnap_conf(handle, linkid, &conf)) ==
DLADM_STATUS_OK) {
(void) dladm_get_conf_field(handle, conf, FFORCE,
&force_in_conf, sizeof (boolean_t));