mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Reset skb->cb when forwarding intrabss packets
skb->cb has different meaning for rx & tx packets. Reset the cb to avoid mis-interpretation of the data that leads to eratic misbehavior the least of which is failure to forward packets. Change-Id: I5d1396c70cd93d165aa825c4408ad46d082693f3 CRs-Fixed: 1065769
This commit is contained in:
parent
2359ca00da
commit
abaf6736eb
1 changed files with 4 additions and 0 deletions
|
|
@ -132,6 +132,10 @@ static inline void ol_rx_fwd_to_tx(struct ol_txrx_vdev_t *vdev, qdf_nbuf_t msdu)
|
|||
rx_desc));
|
||||
}
|
||||
|
||||
/* Clear the msdu control block as it will be re-interpreted */
|
||||
qdf_mem_set(msdu->cb, sizeof(msdu->cb), 0);
|
||||
/* update any cb field expected by OL_TX_SEND */
|
||||
|
||||
msdu = OL_TX_SEND(vdev, msdu);
|
||||
|
||||
if (msdu) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue