From: Linus Torvalds torvalds@linux-foundation.org Date: Sun, 2 Nov 2014 10:20:22 -0800
David, I'm just going to remove that whole bogus disconnect call. It won't make things *work* for Martin (because this is all in the "connect failed" path), but that call as-is is just wrong, wrong, wrong. And apparently nobody cares about irda any more.
I totally agree, just kill it. For the record this got added in:
commit 5b40964eadea40509d353318d2c82e8b7bf5e8a5 Author: Samuel Ortiz samuel@sortiz.org Date: Mon Oct 11 00:46:51 2010 +0200
irda: Remove BKL instances from af_irda.c
which claims to be just a locking change, but obviously added this bogus ->disconnect() call as well.
If anybody is at all interested in helping maintain irda code, holler to David and to the netdev mailing list. The position is up for grabs.
Seriously... :-)