Merge "net: rmnet_data: Support recycling frames to real device"
This commit is contained in:
commit
56909a07a9
1 changed files with 5 additions and 0 deletions
|
@ -77,6 +77,11 @@ void rmnet_kfree_skb(struct sk_buff *skb, unsigned int reason)
|
|||
if (likely(skb)) {
|
||||
struct rmnet_phys_ep_conf_s *config;
|
||||
|
||||
if (skb->destructor) {
|
||||
skb->destructor(skb);
|
||||
return;
|
||||
}
|
||||
|
||||
config = (struct rmnet_phys_ep_conf_s *)rcu_dereference
|
||||
(skb->dev->rx_handler_data);
|
||||
if (likely(config))
|
||||
|
|
Loading…
Add table
Reference in a new issue