Commit ac2cdd38 authored by Steffen Klassert's avatar Steffen Klassert Committed by Stephen Hemminger

[BRIDGE]: Fix kfree(skb).

parent 12070578
......@@ -201,6 +201,6 @@ int br_stp_handle_bpdu(struct sk_buff *skb)
out:
spin_unlock_bh(&br->lock);
err:
kfree(skb);
kfree_skb(skb);
return 0;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment