]> git.neil.brown.name Git - history.git/commit
[IRDA]: Fix lmp_lsap_inuse()
authorJean Tourrilhes <jt@bougret.hpl.hp.com>
Thu, 21 Oct 2004 15:06:57 +0000 (08:06 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Thu, 21 Oct 2004 15:06:57 +0000 (08:06 -0700)
commit82f50c7965ed215b5c65bf9dc0cbe75829f7d7ad
tree54f41115a121579c380061ef5679b99cb38b38d8
parentc3f45cd54d218e36e665bed6ed1bf86172333eda
[IRDA]: Fix lmp_lsap_inuse()

o [CRITICA] Fix locking in error path in IrLMP (Stanford checker)
o [CORRECT] Don't reuse unconnected LSAPs (listening sockets)
o [CORRECT] Make sure the LSAP we are picking has just not been grabed
o [CORRECT] Wrap around the LSAP space properly back to 0x10

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/irda/irlmp.h
net/irda/irlmp.c