diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-08-28 20:44:07 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-11-14 22:09:42 +0100 |
commit | cc88a2695f4a54e27143efeae62de24fec8e26a1 (patch) | |
tree | 750bb1b66d8d3030fc0ad68767b6b2d7fc506cd2 /multi.c | |
parent | Clean-up: Remove pthread and mutex locking code (diff) | |
download | openvpn-cc88a2695f4a54e27143efeae62de24fec8e26a1.tar.xz |
Clean-up: Remove more dead and inactive code paths
These code paths was practically not needed with no locking mechanisms
enabled and was just bloating the source code.
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: James Yonan <james@openvpn.net>
Diffstat (limited to '')
-rw-r--r-- | multi.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1000,8 +1000,6 @@ multi_get_instance_by_virtual_addr (struct multi_context *m, struct mroute_addr tryaddr; int i; - mroute_helper_lock (rh); - /* cycle through each CIDR length */ for (i = 0; i < rh->n_net_len; ++i) { @@ -1022,8 +1020,6 @@ multi_get_instance_by_virtual_addr (struct multi_context *m, break; } } - - mroute_helper_unlock (rh); } #ifdef ENABLE_DEBUG @@ -2240,7 +2236,7 @@ multi_get_queue (struct mbuf_set *ms) { struct mbuf_item item; - if (mbuf_extract_item (ms, &item, true)) /* cleartext IP packet */ + if (mbuf_extract_item (ms, &item)) /* cleartext IP packet */ { unsigned int pipv4_flags = PIPV4_PASSTOS; |