NetBSD-Bugs archive

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

kern/48996: ifconfig shows error message when changing MTU of bridge



>Number:         48996
>Category:       kern
>Synopsis:       ifconfig shows error message when changing MTU of bridge
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 15 15:25:00 +0000 2014
>Originator:     Takahiro HAYASHI
>Release:        NetBSD 6.99.47
>Organization:
>Environment:
System: NetBSD  6.99.47 NetBSD 6.99.47 (XHCIDEBUG) #2: Mon Jul 14 02:12:59 JST 
2014  root@halt:/build/head/obj.amd64/sys/arch/amd64/compile/XHCIDEBUG amd64
Architecture: x86_64
Machine: amd64
>Description:
        When I change the MTU of bridge, ifconfig shows following error
        message:

        > ifconfig bridge0 mtu 1504
        > ifconfig: SIOCSIFMTU: Network dropped connection on reset

        The configuration is done normally and ifconfig exits with 0.
        This looks harmless but may confuse users or scripts.

        I guess something lacks in the case of ioctl SIOCSIFMTU in
        net/if_bridge.c, e.g. setting error = 0 when error == ENETRESET.

>How-To-Repeat:
        See Description.
>Fix:
        

-- 
t-hash



Home | Main Index | Thread Index | Old Index