mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[NET]: Fix kfree(skb)
Signed-off-by: Patrick McHardy <[email protected]> Acked-by: Paul Moore <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
4498121ca3
commit
b08d5840d2
4 changed files with 4 additions and 4 deletions
|
|
@ -173,7 +173,7 @@ static int netlbl_unlabel_list(struct sk_buff *skb, struct genl_info *info)
|
|||
return 0;
|
||||
|
||||
list_failure:
|
||||
kfree(ans_skb);
|
||||
kfree_skb(ans_skb);
|
||||
return ret_val;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue