qcacmn: fix skb cb corruption issue

the ftype in skb->cb is overshooting allocated 48 bytes
causing kernel crash

Change-Id: Ie33508c462a032b28624de5270ce91a93d0b067d
This commit is contained in:
Tallapragada Kalyan
2017-06-23 11:16:42 +05:30
committato da snandini
parent b02a649f89
commit 0cd1793ba5
3 ha cambiato i file con 23 aggiunte e 8 eliminazioni

Vedi File

@@ -559,6 +559,12 @@ qdf_nbuf_set_vdev_ctx(qdf_nbuf_t buf, void *vdev_ctx)
__qdf_nbuf_set_vdev_ctx(buf, vdev_ctx);
}
static inline void
qdf_nbuf_set_ftype(qdf_nbuf_t buf, uint8_t type)
{
__qdf_nbuf_set_ftype(buf, type);
}
static inline void
qdf_nbuf_set_fctx_type(qdf_nbuf_t buf, void *ctx, uint8_t type)
{