Files
twx-linux/include/net
Patrick McHardy 1e3769dc9a Fix IFB net driver input device crashes
[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-04-13 13:47:04 -07:00
..
2006-12-02 21:21:08 -08:00
2006-12-02 21:22:55 -08:00
2006-09-22 14:54:40 -07:00
2006-12-07 08:39:25 -08:00
2007-04-06 03:43:14 -07:00
2006-09-28 18:01:06 -07:00
2007-03-13 11:26:47 -07:00
2007-04-06 03:43:13 -07:00
2006-12-02 21:23:41 -08:00
2006-11-05 14:11:25 -08:00
2006-12-02 21:21:23 -08:00
2006-12-02 21:22:52 -08:00
2006-12-08 17:19:20 -08:00
2006-12-04 02:00:34 -05:00
2006-09-28 18:02:10 -07:00
2007-01-04 12:25:16 -08:00
2006-12-04 02:00:31 -05:00