Wind River Support Network

HomeDefectsLIN5-18481
Fixed

LIN5-18481 : WRL5 RCPL12 : SCTP packet routed to wrong vlan

Created: Apr 8, 2014    Updated: Dec 19, 2017
Resolved Date: May 7, 2014
Found In Version: 5.0.1.12
Fix Version: 5.0.1.15
Severity: Standard
Applicable for: Wind River Linux 5
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