On Sun, 17 Jun 2001, Dag Brattli wrote:

> > http://www.lahn.de/~titan/prog/irda/2.4.5-ac14/

> > -rw-r--r--    1 pmhahn        783 Jun 15 19:37 ir242_conn_pend.diff
> Already included in ir245_conn_pend_stuck_3.diff below
Will remove.

> > -rw-r--r--    1 pmhahn      10428 Jun 15 19:40 ir242_hw_name.diff
> 2.5? (need to fix all drivers, not just the two below!!)
This patch includes updated to
linux/drivers/net/irda/irtty.d7.c
linux/drivers/net/irda/irport.d7.c
linux/drivers/net/irda/nsc-ircc.d7.c
linux/drivers/net/irda/toshoboe.d7.c
linux/drivers/net/irda/w83977af_ir.d7.c

Missing are:
tekram, smc-ircc, old_belkin, litelink, girbil, esi, actisys

> > -rw-r--r--    1 pmhahn        886 Jun 15 19:26 ir242_hw_name_ali.diff
> > -rw-r--r--    1 pmhahn        844 Jun 15 19:26 ir242_hw_name_usb.diff
Ther are extra because ali isn't yet included and usb wasn't back then.

> > -rw-r--r--    1 pmhahn      71372 Jun 15 19:42 ir242_irda-ali.diff
> > -rw-r--r--    1 pmhahn       6635 Jun 15 19:55 ir245_conn_pend_stuck_3.diff
> > -rw-r--r--    1 pmhahn      11388 Jun 15 20:00 ir245_stack.diff
> Sent to Alan 17/6
Will keep my eyes open.

> > One comment to ir245_stack.diff: That one was from stanford and had some
> > problems freeing memory never allocated. My version should be correct(TM).
> Are you saying that your version is included in the file listed above or?
The original patch was:

From: Ted Unangst <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Subject: [Linux-IrDA]patch
Date: Mon, 4 Jun 2001 00:17:35 -0700 (PDT)


In af_irda.c:irda_setsockopt() he allocates memory in
case IRLMP_IAS_SET, but frees it in many more cases.
He forgets to allocate the momory for case IRLMP_IAS_DEL.

Same goes for irda_getsockopt() where he forgets to free the memory in
some cases.


I put my own (correct) version on my web-site, so if you sent them to
Alan, that one should be ok. The original one from Ted on the mailing-list
was definitely broken.

BYtE
Philipp
-- 
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [EMAIL PROTECTED]

_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to