Patrick McHardy c01003c205 [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 <kaber@trash.net>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-03-29 11:46:52 -07:00
..
2007-02-26 11:42:43 -08:00
2007-02-08 13:51:54 -08:00
2006-12-02 21:21:08 -08:00
2006-12-02 21:22:55 -08:00
2005-08-29 15:32:25 -07:00
2006-09-22 14:54:40 -07:00
2005-04-16 15:20:36 -07:00
2006-09-28 18:01:06 -07:00
2005-04-16 15:20:36 -07:00
2006-12-02 21:23:41 -08:00
2006-11-05 14:11:25 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-02 21:21:23 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-22 07:57:21 -03:00
2006-03-20 22:59:36 -08:00
2006-12-02 21:22:52 -08:00
2006-12-04 02:00:34 -05:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:32:25 -07:00
2006-06-30 14:12:10 -07:00
2006-12-04 02:00:31 -05:00