mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
Ticket refs #16840: patch is removed to be applied on iopsys 3.16
This commit is contained in:
parent
dd3b377916
commit
d5fc717908
1 changed files with 0 additions and 9 deletions
9
cwmp.c
9
cwmp.c
|
|
@ -183,14 +183,6 @@ end:
|
|||
pthread_mutex_unlock(&(cwmp->mutex_session_queue));
|
||||
}
|
||||
|
||||
int free_cache_mem() {
|
||||
FILE *fp = NULL;
|
||||
fp = fopen("/proc/sys/vm/drop_caches", "w");
|
||||
fputs("3", fp);
|
||||
fclose(fp);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void cwmp_schedule_session (struct cwmp *cwmp)
|
||||
{
|
||||
struct list_head *ilist;
|
||||
|
|
@ -231,7 +223,6 @@ void cwmp_schedule_session (struct cwmp *cwmp)
|
|||
CWMP_LOG (INFO,"Start session");
|
||||
error = cwmp_schedule_rpc (cwmp,session);
|
||||
CWMP_LOG (INFO,"End session");
|
||||
free_cache_mem();
|
||||
run_session_end_func(session);
|
||||
if (session->error == CWMP_RETRY_SESSION && (!list_empty(&(session->head_event_container)) || (list_empty(&(session->head_event_container)) && cwmp->cwmp_cr_event == 0)) )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue