summaryrefslogtreecommitdiff
path: root/include/linux/start_kernel.h
diff options
context:
space:
mode:
authorHarout Hedeshian <harouth@codeaurora.org>2015-05-21 07:35:04 -0600
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:05:36 -0700
commitea9757ee26e5c76583e6807674cb041ffbc8e18f (patch)
tree97d76e3f8a61c8c8b825952040c9e01708cfd541 /include/linux/start_kernel.h
parenta08bd73374ea8188a9b5ca0f835d9c83559d3bde (diff)
net: rmnet_data: use netif_tx_lock when sending MAP ACK message
The initial implementation of MAP command would grab the global tx lock on the physical transport interface directly. It seems grabbing the lock on its own is not enough to serialize access to the underlying device's ndo_start_xmit() function. In addition to grabbing the lock the transmit queue must be placed in frozen state. The fix is to use the standard netif_tx_lock/unlock APIs as provided by the core framework rather than manually grabbing the spinlocks. Additionally, the null check has been optimized with an unlikely(). A new LOGD() message was added for further debugging of MAP ACK sending. CRs-Fixed: 841068 Change-Id: Ia76396f3075f25cdf6bf7278bba0ec78433b2934 Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions