Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit caa06b61 authored by Graham Gower's avatar Graham Gower Committed by John W. Linville
Browse files

[PATCH] prism54/islpci_eth.c: dev_kfree_skb used with interrupts disabled



dev_kfree_skb should not be used with interrupts disabled.  Change to
use dev_kfree_skb_irq instead.

Signed-off-by: default avatarGraham Gower <graham.gower@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4a8e4a27
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -177,7 +177,7 @@ islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev)
#endif
#endif


			newskb->dev = skb->dev;
			newskb->dev = skb->dev;
			dev_kfree_skb(skb);
			dev_kfree_skb_irq(skb);
			skb = newskb;
			skb = newskb;
		}
		}
	}
	}