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

Commit 651bbc62 authored by Ursula Braun's avatar Ursula Braun Committed by Jeff Garzik
Browse files

s390: don't call iucv_path_connect from tasklet context



net/iucv/iucv.c creates the requirement for
iucv_path_connect not to be called from tasklet context anymore.
An extra checking is added in case of a failing netiucv_tx
to fulfil this requirement for netiucv.

Signed-off-by: default avatarUrsula Braun <braunu@de.ibm.com>
Signed-off-by: default avatarFrank Pavlic <fpavlic@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent dc5bc0ca
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1315,6 +1315,7 @@ static int netiucv_tx(struct sk_buff *skb, struct net_device *dev)
	 * and throw away packet.
	 */
	if (fsm_getstate(privptr->fsm) != DEV_STATE_RUNNING) {
		if (!in_atomic())
			fsm_event(privptr->fsm, DEV_EVENT_START, dev);
		dev_kfree_skb(skb);
		privptr->stats.tx_dropped++;