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-03-22 12:27:49 -07:00
2007-02-10 23:20:08 -08:00
2007-02-10 23:20:08 -08:00
2007-02-10 23:20:08 -08:00
2007-02-10 23:20:08 -08:00
2007-02-10 23:20:08 -08:00
2007-02-10 23:20:08 -08:00
2007-02-10 23:20:08 -08:00
2007-02-10 23:20:08 -08:00
2007-02-10 23:20:08 -08:00