diff options
author | Patrick McHardy <kaber@trash.net> | 2007-04-10 13:29:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-13 13:47:04 -0700 |
commit | 1e3769dc9ac7559010cfad5400896f24f1d33ad3 (patch) | |
tree | 087bb158ff5ac279e875a12a67e10068eabfcc46 /sound | |
parent | 9e45b2f0fd14f032b1fcbaae0b2548274a9cc9be (diff) |
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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions