[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C76E765.9020201@free.fr>
Date: Fri, 27 Aug 2010 00:15:01 +0200
From: Bernard F6BVP <f6bvp@...e.fr>
To: ralf@...ux-mips.org
CC: davem@...emloft.net, linux-hams@...r.kernel.org,
netdev@...r.kernel.org, bpidoux@...e.fr
Subject: [PATCH] [ROSE] rose node number was never decreased
When a ROSE node was deleted, node number was not
decremented and addr kept going up when a new node
was added.
/proc/net/rose_neigh
addr callsign dev count use mode restart t0 tf digipeaters
00007 F5KBW-9 ax0 1 0 DTE no 0 0
00006 F6BVP-11 ax0 2 0 DTE no 0 0
00005 F6BVP-9 ax0 2 0 DTE no 0 0
00001 RSLOOP-0 ??? 0 0 DCE yes 0 0
With this patch, rose node number is correctly decreased
when nodes are deleted and new ones added :
/proc/net/rose_neigh
addr callsign dev count use mode restart t0 tf digipeaters
00004 F5KBW-9 ax0 1 0 DTE no 0 0
00003 F6BVP-11 ax0 2 0 DTE no 0 0
00002 F6BVP-9 ax0 2 0 DTE no 0 0
00001 RSLOOP-0 ??? 0 0 DCE yes 0 0
Signed-off-by: Bernard Pidoux <f6bvp@...e.fr>
View attachment "rose_route.patch" of type "text/x-patch" (428 bytes)
Powered by blists - more mailing lists