mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 15:20:49 +07:00
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: Ursula Braun <braunu@de.ibm.com> Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
dc5bc0cabd
commit
651bbc6224
@ -1315,7 +1315,8 @@ static int netiucv_tx(struct sk_buff *skb, struct net_device *dev)
|
|||||||
* and throw away packet.
|
* and throw away packet.
|
||||||
*/
|
*/
|
||||||
if (fsm_getstate(privptr->fsm) != DEV_STATE_RUNNING) {
|
if (fsm_getstate(privptr->fsm) != DEV_STATE_RUNNING) {
|
||||||
fsm_event(privptr->fsm, DEV_EVENT_START, dev);
|
if (!in_atomic())
|
||||||
|
fsm_event(privptr->fsm, DEV_EVENT_START, dev);
|
||||||
dev_kfree_skb(skb);
|
dev_kfree_skb(skb);
|
||||||
privptr->stats.tx_dropped++;
|
privptr->stats.tx_dropped++;
|
||||||
privptr->stats.tx_errors++;
|
privptr->stats.tx_errors++;
|
||||||
|
Loading…
Reference in New Issue
Block a user