Skip to content
Commit 5e6f6e07 authored by Adam Wujek's avatar Adam Wujek Committed by Peter Korsgaard
Browse files

package/netsnmp: fix memory leak in IP-MIB when running without IPv6



In a Linux system without IPv6 support (or booted with "ipv6.disable=1")
file /proc/net/snmp6 is not present. If such file is not present an allocated
memory is not freed. Memory leak occurs even without snmp queries.

Problem seen at least since netsnmp 5.7.3 (probably even v5.6.1).
Patch backported from netsnmp 5.9, where the problem does not appear any more.

Signed-off-by: default avatarAdam Wujek <dev_public@wujek.eu>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 8def685b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment