commit | 7d3113042823344dcc175b0ea00a83d0273c98a4 | [log] [tgz] |
---|---|---|
author | sjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com> | Sun Dec 04 11:22:55 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 05 18:27:56 2011 -0500 |
tree | 7557851b0c2a3da774a36448cd78fedcc0958e6d | |
parent | 0e4c7d85d5e522d5839bdc5745235428faf38d44 [diff] |
caif: Stash away hijacked skb destructor and call it later This patch adds functionality for avoiding orphaning SKB too early. The original skb is stashed away and the original destructor is called from the hi-jacked flow-on callback. If CAIF interface goes down and a hi-jacked SKB exists, the original skb->destructor is restored. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>