| 607 | |
| 608 | |
| 609 | static int w_lb_reset(struct sip_msg *req) |
| 610 | { |
| 611 | int ret; |
| 612 | |
| 613 | lock_start_read(ref_lock); |
| 614 | |
| 615 | /* do lb */ |
| 616 | ret = do_lb_reset(req, *curr_data); |
| 617 | |
| 618 | lock_stop_read(ref_lock); |
| 619 | |
| 620 | if( ret < 0 ) |
| 621 | return ret; |
| 622 | return 1; |
| 623 | } |
| 624 | |
| 625 | |
| 626 | static int w_lb_is_started(struct sip_msg *req) |
nothing calls this directly
no test coverage detected