Re: [PATCH] mac80211: Fix invalid 'info' access in xmit-fast.

2017-01-02 Thread Ben Greear
On 01/02/2017 02:24 AM, Johannes Berg wrote: On Fri, 2016-12-30 at 10:49 -0800, gree...@candelatech.com wrote: From: Ben Greear ieee80211_xmit_fast assigns info from the passed-in skb, but then later it also checks for skb_shared(skb), and may create a new skb based

Re: [PATCH] mac80211: Fix invalid 'info' access in xmit-fast.

2017-01-02 Thread Johannes Berg
On Fri, 2016-12-30 at 10:49 -0800, gree...@candelatech.com wrote: > From: Ben Greear > > ieee80211_xmit_fast assigns info from the passed-in > skb, but then later it also checks for skb_shared(skb), > and may create a new skb based on that check. > > But, the code did

[PATCH] mac80211: Fix invalid 'info' access in xmit-fast.

2016-12-30 Thread greearb
From: Ben Greear ieee80211_xmit_fast assigns info from the passed-in skb, but then later it also checks for skb_shared(skb), and may create a new skb based on that check. But, the code did not re-assign 'info', so it pointed into the old shared skb. This leads to all