if c_skb == NULL we get a Kernel Oops when freeing it. This removes some nasty kernel oopses, and makes it possible to unload hfcmulti again.
This commit is contained in:
parent
c2ba762cc6
commit
01d5d96214
|
@ -431,7 +431,8 @@ do_broadcast(mISDNstack_t *st, struct sk_buff *skb)
|
|||
__FUNCTION__, inst->id);
|
||||
}
|
||||
}
|
||||
dev_kfree_skb(c_skb);
|
||||
if (c_skb)
|
||||
dev_kfree_skb(c_skb);
|
||||
dev_kfree_skb(skb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue