Closed gaoxingwang closed 2 years ago
@stappersg PTAL
To Be Reviewed.
@gaoxingwang there's a bug that causes compile failure on BSD:
CCLD radvd
ld: error: undefined symbol: cleanup_allrouters_membership
>>> referenced by interface.c:117
>>> interface.o:(cleanup_iface)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Please add cleanup_allrouters_membership
to device-bsd44.c
Add IPV6_DROP_MEMBERSHIP to clean up resources when reloading or restarting radvd. Fixes slow kernel memory leak on reload/restart.
Fixes: https://github.com/radvd-project/radvd/issues/177