Wind River Support Network


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:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Kernel


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 #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 netmask
route add default gw dev eth0.2

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

sctp_darn -H -P 36422 -h -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