[PATCH] [ROSE] rose node number was never decreased
From: Bernard F6BVP <hidden>
Date: 2010-08-26 22:15:01
Also in:
linux-hams
Attachments
- rose_route.patch [text/x-patch] 427 bytes · preview
From: Bernard F6BVP <hidden>
Date: 2010-08-26 22:15:01
Also in:
linux-hams
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 <redacted>