]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IrDA: Incorrect TTP header reservation
authorJeet Chaudhuri <jeetlinux@yahoo.co.in>
Wed, 25 Apr 2007 19:53:20 +0000 (21:53 +0200)
committerAdrian Bunk <bunk@stusta.de>
Wed, 25 Apr 2007 19:53:20 +0000 (21:53 +0200)
commit15485523f2deacb7663af61538fbd786ebc1f7db
tree9e8ce97d552716707786ace472d31a817440d090
parentfe1a5ddff7186192f9c6316798a85b3095696ea6
IrDA: Incorrect TTP header reservation

We must reserve SAR + MAX_HEADER bytes for IrLMP to fit in.
This fixes an oops reported (and fixed) by Jeet Chaudhuri, when max_sdu_size
is greater than 0.

Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/irda/irttp.c