Mercurial > illumos > illumos-gate
changeset 12675:fa714c2912e2
6945325 broken links /dev/sctp* after upgrade from osol_136 to osol_137
author | Girish Moodalbail <Girish.Moodalbail@oracle.COM> |
---|---|
date | Tue, 22 Jun 2010 13:49:54 -0400 |
parents | fb4985fff3dd |
children | 8e59320b1a86 |
files | usr/src/cmd/devfsadm/misc_link.c |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/devfsadm/misc_link.c Wed Jun 23 03:45:11 2010 +0530 +++ b/usr/src/cmd/devfsadm/misc_link.c Tue Jun 22 13:49:54 2010 -0400 @@ -19,8 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. */ #include <regex.h> @@ -101,8 +100,8 @@ TYPE_EXACT | DRV_RE, ILEVEL_1, minor_name }, { "pseudo", "ddi_pseudo", - "(^ip$)|(^tcp$)|(^udp$)|(^icmp$)|(^sctp$)|" - "(^ip6$)|(^tcp6$)|(^udp6$)|(^icmp6$)|(^sctp6$)|" + "(^ip$)|(^tcp$)|(^udp$)|(^icmp$)|" + "(^ip6$)|(^tcp6$)|(^udp6$)|(^icmp6$)|" "(^rts$)|(^arp$)|(^ipsecah$)|(^ipsecesp$)|(^keysock$)|(^spdsock$)|" "(^nca$)|(^rds$)|(^sdp$)|(^ipnet$)|(^dlpistub$)|(^bpf$)", TYPE_EXACT | DRV_RE, ILEVEL_1, minor_name @@ -224,6 +223,9 @@ { "pseudo", "^tpm$", RM_PRE | RM_ALWAYS, ILEVEL_0, devfsadm_rm_all }, + { "pseudo", "^sctp|sctp6$", + RM_PRE | RM_ALWAYS, ILEVEL_0, devfsadm_rm_link + } }; /* Rules for gpio devices */