NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/48251: usmsc cannot change link address



>Number:         48251
>Category:       kern
>Synopsis:       usmsc cannot change link address
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 28 19:15:00 +0000 2013
>Originator:     Takahiro HAYASHI
>Release:        NetBSD 6.99.23
>Organization:
>Environment:
System: NetBSD rpi 6.99.23 NetBSD 6.99.23 (MYRPI) #11: Sun Sep 29 03:34:12 JST 
2013  root@halt:/usr/build2/obj.evbarm/sys/arch/evbarm/compile/MYRPI evbarm
Architecture: arm
Machine: evbarm
>Description:
        usmsc(4) cannot change it's link address
        because the driver does not update sc with new link address in ifp
        when it's link address has been changed.

>How-To-Repeat:
        assign another link address on usmsc, ifconfig usmsc down up, and
        ping other host.

>Fix:
        Please memcpy CLLADDR(ifp->if_sadl) to sc->sc_enaddr before
        calling smsc_setmacaddress().

--
t-hash



Home | Main Index | Thread Index | Old Index