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-20 17:10:15 -08:00
2007-02-20 17:10:14 -08:00
2007-02-16 15:19:17 -08:00
2007-02-09 17:39:36 -05:00
2007-02-11 11:18:07 -08:00
2007-03-27 09:05:15 -07:00
2007-02-13 22:09:01 +01:00
2007-03-26 23:03:20 +02:00
2007-03-02 20:44:51 -08:00
2007-03-06 06:08:11 -05:00
2007-02-11 11:18:07 -08:00
2007-02-09 17:39:36 -05:00
2007-03-01 14:53:38 -08:00
2007-02-12 09:48:30 -08:00
2007-02-16 14:37:06 +00:00
2007-02-07 10:37:14 -08:00
2007-03-16 19:25:07 -07:00
2007-03-04 11:12:42 +02:00
2007-02-17 19:17:37 +01:00
2007-03-01 14:53:35 -08:00
2007-03-12 16:31:50 -07:00
2007-02-08 13:51:54 -08:00
2007-03-16 19:25:05 -07:00
2007-02-09 08:06:14 -08:00
2007-03-12 16:31:50 -07:00
2007-03-27 08:55:47 +02:00
2007-02-11 10:51:28 -08:00
2007-02-11 10:51:28 -08:00
2007-03-05 07:57:51 -08:00
2007-02-17 19:07:33 +01:00
2007-02-20 17:10:14 -08:00
2007-02-20 17:10:14 -08:00
2007-02-12 09:48:41 -08:00
2007-02-11 10:51:18 -08:00
2007-02-20 17:10:13 -08:00
2007-02-07 14:03:19 +11:00
2007-02-16 08:13:57 -08:00
2007-02-16 08:13:56 -08:00
2007-03-05 07:57:51 -08:00
2007-02-11 10:51:25 -08:00
2007-02-11 11:18:05 -08:00