X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/42be8a4481c24e1b264eebff45813963e3c34ba8..c29d86ce91159cc6ddcb4266903f0aafe9992e01:/lincan/src/open_rtl.c diff --git a/lincan/src/open_rtl.c b/lincan/src/open_rtl.c index 230e3eb..2730ee3 100644 --- a/lincan/src/open_rtl.c +++ b/lincan/src/open_rtl.c @@ -52,6 +52,8 @@ int can_open_rtl_common(struct canuser_t *canuser, int open_flags) qends = (struct canque_ends_t *)rt_malloc(sizeof(struct canque_ends_t)); if(qends == NULL) goto no_qends; canqueue_ends_init_rtl(qends); + /* mark memory as allocated from RTL memory pool */ + qends->ends_flags|=CAN_ENDSF_MEM_RTL; canuser->qends = qends; can_spin_lock_irqsave(&canuser_manipulation_lock, iflags);