Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the kernel as an extra user of SKBs that are sent out.
This should be used in conjunction with the kernel patch. The patch makes sure that SKBs in socket's TX path are freed with kfree_skb() and not __kfree_skb(). kfree_skb() pays attention to the number of users SKB currently has, whereas __kfree_skb() frees SKBs unconditionally. With these two patches together SKBs can be freed safely at any time.
- Loading branch information