Wind River Support Network

HomeDefectsLIN6-7320
Fixed

LIN6-7320 : CLONE - WRL5 RCPL12 : SCTP packet routed to wrong vlan

Created: May 4, 2014    Updated: Dec 3, 2018
Resolved Date: May 18, 2014
Previous ID: LIN5-18682
Found In Version: 6.0.0.7
Fix Version: 6.0.0.7
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Kernel

Description

On a board with multiple vlans, SCTP packet is sent on the wrong vlan even if the route is configured correctly. 

Steps to Reproduce

-> on P4080 running WRlinux 4.3 (Linux localhost 2.6.34.13-WR4.3.0.0_standard #1 SMP PREEMPT Fri Mar 28 14:44:24 CET 2014 ppc ppc ppc GNU/Linux) this below works well.
-> on wrl5 the testcase below does not work  (packet routed to wrong interface)


vconfig add eth0 2
vconfig add eth0 3

ifconfig eth0 up
ifconfig eth0.2 10.0.1.14 netmask 255.255.255.0
route add default gw 10.0.1.254 dev eth0.2

ifconfig eth0.3 10.0.0.14 netmask 255.255.255.0
ip rule add from 10.0.0.14 table 4
ip route add table 4 default via 10.0.0.254 src 10.0.0.14 dev eth0.3

sctp_darn -H 10.0.0.14 -P 36422 -h 10.1.4.134 -p 36422 -s -I snd=4

-> on wrl 4.3 packet is always sent through the right vlan
-> on wrl 5.x packet is always sent through the wrong vlan, a retry is needed

Other Downloads


Live chat
Online