[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-devel] [bug #22916] Resetting SNMP data structures
From: |
Bill Auerbach |
Subject: |
RE: [lwip-devel] [bug #22916] Resetting SNMP data structures |
Date: |
Mon, 14 Apr 2008 14:33:42 -0400 |
You don't mention the lwIP release you're using. Assuming current. I don't
use snmp myself, but I do know that there is snmp_init - does that do the
trick?
This leads to the next observation - lwip_init doesn't call snmp_init and
probably should, right?
Bill
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf
> Of Srinivas Gollakota
> Sent: Monday, April 14, 2008 2:20 PM
> To: Srinivas Gollakota; address@hidden
> Subject: [lwip-devel] [bug #22916] Resetting SNMP data structures
>
>
> URL:
> <http://savannah.nongnu.org/bugs/?22916>
>
> Summary: Resetting SNMP data structures
> Project: lwIP - A Lightweight TCP/IP stack
> Submitted by: gollakota
> Submitted on: Monday 04/14/2008 at 14:20
> Category: ARP
> Severity: 3 - Normal
> Item Group: Faulty Behaviour
> Status: None
> Privacy: Public
> Assigned to: None
> Open/Closed: Open
> Discussion Lock: Any
> Planned Release:
>
> _______________________________________________________
>
> Details:
>
> I'm trying to implement shutdown of lwip sub-sytem and restart again. In
> the
> arch wrapper i'm releasing the semaphores, threads and memory and removing
> the
> network interfce netif_remove().
>
> Whilst network interface is removed the SNMP tables/data structures
> appears
> to be not resetting to default.This leads to the corrupted linked list in
> snmp_insert_arpidx_tree().I tried to reset head,tail,count members of the
> arptree_root() but did'nt fixed the problem.
>
> Could someone advice me the values that need to be reset with SNMP upon
> restart. With much broader scenario will be it good to have clean function
> associated with init's for graceful shutdown of lwip subsystem.
>
> Thanks,
> -Srinivas
>
>
>
>
> _______________________________________________________
>
> Reply to this item at:
>
> <http://savannah.nongnu.org/bugs/?22916>
>
> _______________________________________________
> Message sent via/by Savannah
> http://savannah.nongnu.org/
>
>
>
> _______________________________________________
> lwip-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-devel