mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-24 21:43:40 +00:00
rtl8188eu: Guard against pktfile crashes when skb address is NULL
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
0ebfaa07e4
commit
b3bfe784a4
1 changed files with 3 additions and 0 deletions
|
@ -1002,6 +1002,9 @@ s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct
|
|||
s32 bmcst = IS_MCAST(pattrib->ra);
|
||||
s32 res = _SUCCESS;
|
||||
|
||||
if (!pkt)
|
||||
return _FAIL;
|
||||
|
||||
psta = rtw_get_stainfo(&padapter->stapriv, pattrib->ra);
|
||||
|
||||
if (psta == NULL)
|
||||
|
|
Loading…
Reference in a new issue