[PATCH net-next] mac80211: Check correct skb for shared states before freeing original

2014-09-10 Thread Alexander Duyck
The code for cloning the skb for an acknowledgement was checking to see if the cloned skb was shared and if it was it was then freeing the original skb. Since a clone should never really be shared I suspect that the intention was to avoid freeing the clone if the original was shared. As such I

Re: [PATCH net-next] mac80211: Check correct skb for shared states before freeing original

2014-09-10 Thread Johannes Berg
On Wed, 2014-09-10 at 16:06 -0400, Alexander Duyck wrote: The code for cloning the skb for an acknowledgement was checking to see if the cloned skb was shared and if it was it was then freeing the original skb. Since a clone should never really be shared I suspect that the intention was to

Re: [PATCH net-next] mac80211: Check correct skb for shared states before freeing original

2014-09-10 Thread Alexander Duyck
On 09/10/2014 01:33 PM, Johannes Berg wrote: On Wed, 2014-09-10 at 16:06 -0400, Alexander Duyck wrote: The code for cloning the skb for an acknowledgement was checking to see if the cloned skb was shared and if it was it was then freeing the original skb. Since a clone should never really be