mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
msm: ipa: fix the unlock issue for rmnet_ctl module
Fix the double unlock issue on rmnet_ctl_wakeup_ipa. Change-Id: I3f559a7296463fee446da5b8f0174ccae91ba43a
This commit is contained in:
parent
d5c81c5204
commit
f29b6320d4
1 changed files with 1 additions and 3 deletions
|
|
@ -527,8 +527,6 @@ static void rmnet_ctl_wakeup_ipa(struct work_struct *work)
|
|||
rmnet_ctl_ipa3_ctx->stats.tx_pkt_dropped++;
|
||||
rmnet_ctl_ipa3_ctx->stats.tx_byte_dropped +=
|
||||
skb->len;
|
||||
spin_unlock_irqrestore(&rmnet_ctl_ipa3_ctx->tx_lock,
|
||||
flags);
|
||||
kfree_skb(skb);
|
||||
continue;
|
||||
}
|
||||
|
|
@ -543,8 +541,8 @@ static void rmnet_ctl_wakeup_ipa(struct work_struct *work)
|
|||
rmnet_ctl_ipa3_ctx->stats.tx_pkt_sent++;
|
||||
rmnet_ctl_ipa3_ctx->stats.tx_byte_sent +=
|
||||
skb->len;
|
||||
spin_unlock_irqrestore(&rmnet_ctl_ipa3_ctx->tx_lock, flags);
|
||||
}
|
||||
spin_unlock_irqrestore(&rmnet_ctl_ipa3_ctx->tx_lock, flags);
|
||||
goto out;
|
||||
|
||||
delayed_work:
|
||||
|
|
|
|||
Loading…
Reference in a new issue