NetBSD-Bugs archive

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

kern/52876: The vlan(4) over wm(4) behaves something strange



>Number:         52876
>Category:       kern
>Synopsis:       The vlan(4) over wm(4) behaves something strange
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 29 00:15:00 +0000 2017
>Originator:     Shinichi Doyashiki
>Release:        NetBSD 8.99.9
>Organization:
	at home
>Environment:
System: NetBSD router.csel.org 8.99.9 NetBSD 8.99.9 (XCYMINIPC) #**: Fri Dec 29 **:**:** JST 2017 clare%mizuki.csel.org@localhost:/export/stage/hack/sys/arch/amd64/compile/XCYMINIPC amd64
Architecture: x86_64
Machine: amd64
>Description:
	The vlan(4) over wm(4) behaves something strange.
	Packet forwarding itself is seemes good,
	but ssh or telnet session to the box is sometimes
	freezed (or dropped packet) on the box.
>How-To-Repeat:
	Detail is unknown.
	My router box has configured vlan(4) over wm(4).
	Another endpoint machine has wm(4) only, that works fine.

wm0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	capabilities=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	capabilities=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	enabled=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	enabled=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	enabled=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	ec_capabilities=7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
	ec_enabled=3<VLAN_MTU,VLAN_HWTAGGING>
	address: **:**:**:**:**:**
	media: Ethernet autoselect (1000baseT full-duplex)
	status: active
	inet 192.168.0.1/24 broadcast 192.168.0.255 flags 0x0
	inet 192.168.1.1/24 broadcast 192.168.1.255 flags 0x0
	inet 192.168.0.34/24 broadcast 192.168.0.255 flags 0x0
	inet 192.168.1.34/24 broadcast 192.168.1.255 flags 0x0
	inet6 fe**::e**:****:****:**d4%wm0/64 flags 0x0 scopeid 0x1
	inet6 fe**::**%wm0/64 flags 0x0 scopeid 0x1
	inet6 24**:****:****:****::**/64 flags 0x0
(snip)
vlan10: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	capabilities=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	capabilities=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	enabled=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	enabled=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	enabled=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	vlan: 10 parent: wm0
	address: **:**:**:**:**:**
	inet 192.168.10.1/24 broadcast 192.168.10.255 flags 0x0
	inet6 fe**::*:****:****:****%vlan10/64 flags 0x0 scopeid 0x8
	inet6 fe**::1%vlan10/64 flags 0x0 scopeid 0x8
	inet6 24**:****:****:****::1/64 flags 0x0
vlan11: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	capabilities=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	capabilities=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	enabled=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	enabled=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	enabled=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	vlan: 11 parent: wm0
	address: **:**:**:**:**:**
	inet 192.168.11.1/24 broadcast 192.168.11.255 flags 0x0
	inet6 fe**::*:****:****:****%vlan11/64 flags 0x0 scopeid 0x9
	inet6 fe**::1%vlan11/64 flags 0x0 scopeid 0x9
	inet6 24**:****:****:****::1/64 flags 0x0
vlan2: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	capabilities=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	capabilities=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	enabled=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	enabled=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	enabled=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	vlan: 2 parent: wm0
	address: **:**:**:**:**:**
	inet 192.168.2.1/24 broadcast 192.168.2.255 flags 0x0
	inet6 fe**::*:****:****:****%vlan2/64 flags 0x0 scopeid 0xa
	inet6 fe**::1%vlan2/64 flags 0x0 scopeid 0xa
	inet6 24**:****:****:****::1/64 flags 0x0
vlan29: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	capabilities=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	capabilities=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	enabled=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	enabled=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	enabled=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	vlan: 29 parent: wm0
	address: **:**:**:**:**:**
	inet 192.168.29.1/24 broadcast 192.168.29.255 flags 0x0
	inet6 fe**::*:****:****:****%vlan29/64 flags 0x0 scopeid 0xb
	inet6 fe**::1%vlan29/64 flags 0x0 scopeid 0xb
	inet6 24**:****:****:****::1/64 flags 0x0
vlan3: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	capabilities=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	capabilities=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	enabled=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	enabled=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	enabled=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	vlan: 3 parent: wm0
	address: **:**:**:**:**:**
	inet 192.168.3.1/24 broadcast 192.168.3.255 flags 0x0
	inet6 fe**::e**:****:****:****%vlan3/64 flags 0x0 scopeid 0xc
	inet6 fe**::1%vlan3/64 flags 0x0 scopeid 0xc
	inet6 24**:****:****:****::1/64 flags 0x0
vlan30: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	capabilities=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	capabilities=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	enabled=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	enabled=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	enabled=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	vlan: 30 parent: wm0
	address: **:**:**:**:**:**
	inet 192.168.30.1/24 broadcast 192.168.30.255 flags 0x0
	inet6 fe**::e**:****:****:****%vlan30/64 flags 0x0 scopeid 0xd
	inet6 fe**::1%vlan30/64 flags 0x0 scopeid 0xd
	inet6 80:****:****:****::1/64 flags 0x0
vlan31: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	capabilities=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	capabilities=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	enabled=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	enabled=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	enabled=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	vlan: 31 parent: wm0
	address: **:**:**:**:**:**
	inet6 fe80::*%vlan31/64 flags 0x0 scopeid 0xe
vlan4: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 9000
	capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	capabilities=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	capabilities=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	enabled=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
	enabled=7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
	enabled=7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
	vlan: 4 parent: wm1
	address: **:**:**:**:**:**
	inet 192.168.4.1/24 broadcast 192.168.4.255 flags 0x0
	inet6 fe80::*%vlan4/64 flags 0x0 scopeid 0xf
	inet6 fe80::1%vlan4/64 flags 0x0 scopeid 0xf
	inet6 */64 flags 0x0

>Fix:
	Unknown.



Home | Main Index | Thread Index | Old Index