: ir252_cache_wait_data-2.diff
PATCH 1/1 : ir252_cache_wait_data-2.diff
ir252_cache_wait_data-2.diff :
----------------------------
o [CRITICA] Fix one instance were we forgot to clear LSAP cache
o [CORRECT] Fix a bogus conversion to wait_event() The socket closure would never propagate to the app
net/irda/irlmp.c renamed from net/irda/irlmp.d0.c +3 -0
@@ -647,6 +647,9 @@ int irlmp_disconnect_request(struct lsap ASSERT(self->lap->lsaps != NULL, return -1;); lsap =hashbin_remove (self->lap->lsaps, (int ) self,NULL ); +#ifdef CONFIG_IRDA_CACHE_LAST_LSAP + self->lap->cache.valid = FALSE; +#endif ASSERT(lsap != NULL, return -1;); ASSERT(lsap->magic == LMP_LSAP_MAGIC, return -1;);
net/irda/af_irda.c renamed from net/irda/af_irda.d0.c +33 -36
125 lines not on this page · raw message