mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
Fix for NULL dereference in skb tracking code
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3136 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
e6a0fd9b49
commit
e43eb9472d
@ -268,7 +268,8 @@ static void print_skb_trackchange_message(
|
||||
|
||||
static struct sk_buff *
|
||||
clean_clone_or_copy(struct sk_buff *skb) {
|
||||
SKB_CB(skb)->tracked = 0;
|
||||
if (skb != NULL)
|
||||
SKB_CB(skb)->tracked = 0;
|
||||
return skb;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user