|
|
Paul
I looked at the assertion error, it appears to be triggered by a call to
multi_del_iroutes and hence mroute_helper_del_iroute. just before the
assertion net_len_refcount is decremented and thus may become negative.
I believe the following code is not entirely correct and does not
rgenerate the refcount if it becomes zero.
mroute.c:
if (!mh->net_len_refcount[ir->netbits])
mroute_helper_regenerate (mh);
IMHO should read
if (mh->net_len_refcount[ir->netbits] < 1)
mroute_helper_regenerate (mh);
because this regeneration takes place when the first iroute ets added
too. It may be possible that the regeneration code is not executed in a
previous call to mroute_helper_del_iroute call and thus the refcount
gets decremented below zero in a subsequent call.
James, would you mind to comment on this?
Thanks
Erich
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-08/msg00015.html on line 206
Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-08/msg00015.html on line 206
|