-
Patrick McHardy authored
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> Signed-off-by:
Adrian Bunk <bunk@stusta.de>
5f4a9d1b