From: Patrick McHardy Date: Thu, 29 Mar 2007 18:46:52 +0000 (-0700) Subject: [IFB]: Fix crash on input device removal X-Git-Tag: v2.6.21-rc6~48^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c01003c20563d1e75ec9828d21743919d2b43977;p=pandora-kernel.git [IFB]: Fix crash on input device removal The input_device pointer is not refcounted, which means the device may disappear while packets are queued, causing a crash when ifb passes packets with a stale skb->dev pointer to netif_rx(). Fix by storing the interface index instead and do a lookup where neccessary. Signed-off-by: Patrick McHardy Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller --- Reading git-diff-tree failed