Skip to content
Commit f96f7f7f authored by xiaojin's avatar xiaojin Committed by Greg Kroah-Hartman
Browse files

n_gsm.c: add tx_lock in gsm_send



All the call to gsm->output should be in the tx_lock,
that could avoid potential race from MUX level. But
we have no tx_lock in gsm_send.

This patch is to add tx_lock in gsm_send.

Signed-off-by: default avatarxiaojin <jin.xiao@intel.com>
Acked-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5425e03f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment