[FS#127] wrong port number in sys/class/net

LEDE Bugs lede-bugs at lists.infradead.org
Tue Aug 30 02:45:09 PDT 2016


A new Flyspray task has been opened.  Details are below. 

User who did this - geek0007 (geek0007) 

Attached to Project - LEDE Project
Summary - wrong port number in sys/class/net
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Critical
Priority - Very Low
Reported Version - All
Due in Version - Undecided
Due Date - Undecided
Details - Platform: OpenWRT CC 15.05.1 RAMIPS(Mediatek) MT7621A

br-lan => eth0.3 eth0.4 eth0.5 eth0.6
br-wan => eth0.2

but /sys/ file system show same port number for eth0.3 and eth0.2 where eth0.2 ->port 0 eth0.3 -> port 1


root at openwrt:/# cat sys/class/net/eth0.6/brport/port_no
0x4
root at openwrt:/# cat sys/class/net/eth0.5/brport/port_no
0x3
root at openwrt:/# cat sys/class/net/eth0.4/brport/port_no
0x2
**root at openwrt:/# cat sys/class/net/eth0.3/brport/port_no
0x1
root at openwrt:/# cat sys/class/net/eth0.2/brport/port_no
0x1**


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=127



More information about the lede-bugs mailing list