From 4cb8c3593bbb884c5c282b1d8502a0930235fe88 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 2 Nov 2014 10:20:26 -0800 Subject: [PATCH] irda: stop calling sk_prot->disconnect() on connection failure The sk_prot is irda's own set of protocol handlers, so irda should statically know what that function is anyway, without using an indirect pointer. And as it happens, we know *exactly* what that pointer is statically: it's NULL, because irda doesn't define a disconnect operation. So calling that function is doubly wrong, and will just cause an oops. Reported-by: Martin Lang Cc: Samuel Ortiz Cc: David Miller Signed-off-by: Linus Torvalds --- Reading git-format-patch failed