NetBSD-Bugs archive

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

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



The following reply was made to PR kern/48996; it has been noted by GNATS.

From: Ryota Ozaki <ozaki-r%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/48996: ifconfig shows error message when changing MTU of 
bridge
Date: Mon, 21 Jul 2014 17:43:38 +0900

 Hi HAYASHI-san,
 
 I fixed the problem by v1.88 of if_bridge.c:
 http://cvsweb.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/net/if_bridge.c
 
 Could you confirm?
 
 Thanks,
   ozaki-r
 
 
 On Wed, Jul 16, 2014 at 12:25 AM, Takahiro HAYASHI 
<t.hash425%gmail.com@localhost> wrote:
 >>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